truncated metadata

Reported bugs that have been closed and/or resolved

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
Aardvark_Studios
Posts: 2
Joined: Sat Nov 19, 2022 9:47 am

truncated metadata

Post by Aardvark_Studios »

I tried to read png metadata generated by invoke.ai / stable diffusion software, and they are present but truncated?

I've attached the png image as an example. It doesn't matter how much I resize the UI, there is no more text after the "..." in the Dream and Sd-metadata section.

Since you are already reading this info, I am assuming this is purposefully truncated to around 220 characters?

Can you please make sure all all of this metadata is available, by extending the line height or via right click "copy" please?

Many thanks

Slav


ExifTool
ExifTool Version Number 12.40
...

PNG
...
Dream "a sandy sunny beach in the style of moosebay hidden-object-game, ship, lighthouse+, rocks+, detailed+, beach beds, puffy clouds, sunset, palms, birds. high contrast, wet++, sand+, pov, realistic, light shafts+, palms, p...
Sd-metadata {"model": "stable diffusion", "model_id": null, "model_hash": "9807afd5634d3a57729068769eb5f466cc6fa01081c7a630320f45184c32651d", "app_id": "invoke-ai/InvokeAI", "app_version": "v2.1.2", "model_list": {"stable-diffusion-1....
Attachments
000017.0080dcd0.1019625539.png
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: truncated metadata

Post by xnview »

sorry but i don't understand your problem...
Pierre.
Aardvark_Studios
Posts: 2
Joined: Sat Nov 19, 2022 9:47 am

Re: truncated metadata

Post by Aardvark_Studios »

Hope this illustrates the problems better. The same goes for EfixTool > Metadata section called sd-metadata. You are showing only :

Code: Select all

 {"model": "stable diffusion", "model_id": null, "model_hash": "9807afd5634d3a57729068769eb5f466cc6fa01081c7a630320f45184c32651d", "app_id": "invoke-ai/InvokeAI", "app_version": "v2.1.2", "model_list": {"stable-diffusion-1....


instead of full value:

Code: Select all

{"model": "stable diffusion", "model_id": null, "model_hash": "9807afd5634d3a57729068769eb5f466cc6fa01081c7a630320f45184c32651d", "app_id": "invoke-ai/InvokeAI", "app_version": "v2.1.2", "model_list": {"stable-diffusion-1.5": {"status": "cached", "description": "The newest Stable Diffusion version 1.5 weight file (4.27 GB)"}, "inpainting-1.5": {"status": "not loaded", "description": "RunwayML SD 1.5 model optimized for inpainting (4.27 GB)"}, "moosebay-model.ckpt": {"status": "active", "description": "Custom Moosebay trained model (4.27 GB)"}}, "image": {"prompt": [{"prompt": "a sandy sunny beach in the style of moosebay hidden-object-game, ship, lighthouse+, rocks+, detailed+, beach beds, puffy clouds, sunset, palms, birds. high contrast, wet++, sand+, pov, realistic, light shafts+, palms, perspective, trending on artstation+, [many items], [people], [crowd]", "weight": 1.0}], "steps": 40, "cfg_scale": 7.5, "threshold": 0, "perlin": 0, "height": 1024, "width": 640, "seed": 1019625521, "seamless": false, "hires_fix": true, "postprocessing": [{"type": "esrgan", "scale": 4, "strength": 1.0}], "sampler": "k_dpm_2_a", "variations": [], "type": "txt2img"}}
Attachments
Screenshot 2022-11-22 155947.jpg
User avatar
user0
XnThusiast
Posts: 2411
Joined: Sat May 09, 2015 9:37 am

Re: truncated metadata

Post by user0 »

xnview wrote: Tue Nov 22, 2022 3:29 pm sorry but i don't understand your problem...
he means that it is not possible to get full data from Dream and Sd-metadata fields via build-in ExifTool
exif_tool_trancates_metadata.png

for example, in TweakPNG it will be shown in modal dialog on double-click in the field
tweakpng_shows_all_data.jpg
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: truncated metadata

Post by xnview »

:bugconfirmed: Thanks to your detailed description I can reproduce the problem.
Pierre.
User avatar
user0
XnThusiast
Posts: 2411
Joined: Sat May 09, 2015 9:37 am

Re: truncated metadata

Post by user0 »

fixed in 1.4.0b2

full data can be obtained by right-click on field - 'Copy this/all items(s)'
MrBeansAndPants
Posts: 2
Joined: Fri Dec 09, 2022 5:29 pm

Re: truncated metadata

Post by MrBeansAndPants »

I'm trying to get this particular data to be shown in the "Info" in the "view" panel. Is this possible?
Post Reply