Among the apps that enable users to generate images using AI, there is a popular one that runs on iPhones, iPads and Macs, called "Draw Things". Somehow it manages to offer a ton of AI image generation features on Apple devices that normally would only be possible on computers rigged for AI. The metadata that Draw Things outputs in its png files is a JSON that contains an XML in Adobe's XMP format and XnView does not render it in its "Extra" field.
Would it be possible to support it or at least display it as a raw string? Currently, XnView MP does not show it at all.
This is an example of how it looks:
{
"XML:com.adobe.xmp": "\u0000\u0000\u0000\u0000<x:xmpmeta xmlns:x=\"adobe:ns:meta/\" x:xmptk=\"XMP Core 6.0.0\">\n <rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\">\n <rdf:Description rdf:about=\"\"\n xmlns:dc=\"http://purl.org/dc/elements/1.1/\"\n xmlns:xmp=\"http://ns.adobe.com/xap/1.0/\"\n xmlns:exif=\"http://ns.adobe.com/exif/1.0/\">\n <dc:description>\n <rdf:Alt>\n <rdf:li xml:lang=\"x-default\">A house
-blurry, black and white
Steps: 40, Sampler: DPM++ 2M Karras, Guidance Scale: 7.0, Seed: 3168881916, Size: 512x768, Model: deliberate_v2_f16.ckpt, Strength: 1.0, Seed Mode: Torch CPU Compatible</rdf:li>\n </rdf:Alt>\n </dc:description>\n <xmp:CreatorTool>Draw Things</xmp:CreatorTool>\n <exif:UserComment>\n <rdf:Alt>\n <rdf:li xml:lang=\"x-default\">{\"c\":\"A house\",\"model\":\"deliberate_v2_f16.ckpt\",\"sampler\":\"DPM++ 2M Karras\",\"scale\":7,\"seed\":3168881916,\"seed_mode\":\"Torch CPU Compatible\",\"size\":\"512x768\",\"steps\":40,\"strength\":1,\"uc\":\"blurry, black and white\"}</rdf:li>\n </rdf:Alt>\n </exif:UserComment>\n </rdf:Description>\n </rdf:RDF>\n</x:xmpmeta>\n"
}
Add support for png metadata in Adobe XMP format used by Draw Tools AI
Moderators: XnTriq, helmut, xnview
-
- Posts: 2
- Joined: Fri Mar 24, 2023 2:07 pm
-
- Author of XnView
- Posts: 40605
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Add support for png metadata in Adobe XMP format used by Draw Tools AI
could you send me sample file?
Pierre.