Page 1 of 1

truncated metadata

Posted: Sat Nov 19, 2022 9:57 am
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....

Re: truncated metadata

Posted: Tue Nov 22, 2022 3:29 pm
by xnview
sorry but i don't understand your problem...

Re: truncated metadata

Posted: Tue Nov 22, 2022 4:02 pm
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"}}

Re: truncated metadata

Posted: Tue Nov 22, 2022 4:03 pm
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

Re: truncated metadata

Posted: Wed Nov 23, 2022 9:00 am
by xnview
:bugconfirmed: Thanks to your detailed description I can reproduce the problem.

Re: truncated metadata

Posted: Wed Nov 23, 2022 6:46 pm
by user0
fixed in 1.4.0b2

full data can be obtained by right-click on field - 'Copy this/all items(s)'

Re: truncated metadata

Posted: Fri Dec 09, 2022 5:31 pm
by MrBeansAndPants
I'm trying to get this particular data to be shown in the "Info" in the "view" panel. Is this possible?