Bug 471404 - Support the display of PNG parameters
Summary: Support the display of PNG parameters
Status: RESOLVED WORKSFORME
Alias: None
Product: gwenview
Classification: Applications
Component: general (other bugs)
Version First Reported In: 23.04.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-24 05:21 UTC by James Coleman
Modified: 2025-09-21 03:47 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
This image is the original, the png image corresponding to the UserComment is garbled (215.04 KB, image/jpeg)
2023-07-30 05:59 UTC, Rex Lee
Details

Note You need to log in before you can comment on or make changes to this bug.
Description James Coleman 2023-06-24 05:21:50 UTC
SUMMARY
Different tools such as Stable Diffusion saves PNG images with parameters, however it does not appear to be available under the information tab in Gwenview. It would be nice to be able to see the parameters here for when I view images made with Stable Diffusion.

EXAMPLE
Image: https://gec.im/00000-3822642491.png

```
$ identify -verbose 00000-3822642491.png
Image:
  Filename: 00000-3822642491.png
  Permissions: rw-r--r--
  Format: PNG (Portable Network Graphics)
  Mime type: image/png
  Class: DirectClass
  Geometry: 512x512+0+0
  Units: Undefined
  Colorspace: sRGB
  Type: TrueColor
  Endianness: Undefined
  Depth: 8-bit
  Channels: 3.0
  Channel depth:
    Red: 8-bit
    Green: 8-bit
    Blue: 8-bit
  Channel statistics:
    Pixels: 262144
    Red:
      min: 0  (0)
      max: 255 (1)
      mean: 112.697 (0.441948)
      median: 106 (0.415686)
      standard deviation: 87.1186 (0.341641)
      kurtosis: -1.34917
      skewness: 0.180138
      entropy: 0.937845
    Green:
      min: 0  (0)
      max: 255 (1)
      mean: 108.095 (0.4239)
      median: 102 (0.4)
      standard deviation: 88.0168 (0.345164)
      kurtosis: -1.37122
      skewness: 0.21426
      entropy: 0.891995
    Blue:
      min: 0  (0)
      max: 255 (1)
      mean: 120.112 (0.471028)
      median: 124 (0.486275)
      standard deviation: 91.5624 (0.359068)
      kurtosis: -1.52043
      skewness: -0.0283902
      entropy: 0.914729
  Image statistics:
    Overall:
      min: 0  (0)
      max: 255 (1)
      mean: 113.634 (0.445625)
      median: 110.667 (0.433987)
      standard deviation: 88.8993 (0.348625)
      kurtosis: -1.4306
      skewness: 0.120965
      entropy: 0.914856
  Rendering intent: Perceptual
  Gamma: 0.454545
  Chromaticity:
    red primary: (0.64,0.33,0.03)
    green primary: (0.3,0.6,0.1)
    blue primary: (0.15,0.06,0.79)
    white point: (0.3127,0.329,0.3583)
  Matte color: grey74
  Background color: white
  Border color: srgb(223,223,223)
  Transparent color: black
  Interlace: None
  Intensity: Undefined
  Compose: Over
  Page geometry: 512x512+0+0
  Dispose: Undefined
  Iterations: 0
  Compression: Zip
  Orientation: Undefined
  Properties:
    date:create: 2023-06-24T05:02:44+00:00
    date:modify: 2023-06-24T05:02:44+00:00
    date:timestamp: 2023-06-24T05:15:51+00:00
    parameters: photo of a cat in space with sunglasses
Steps: 20, Sampler: Euler a, CFG scale: 7, Seed: 3822642491, Size: 512x512, Model hash: 6ce0161689, Model: v1-5-pruned-emaonly, Version: v1.3.2
    png:IHDR.bit-depth-orig: 8
    png:IHDR.bit_depth: 8
    png:IHDR.color-type-orig: 2
    png:IHDR.color_type: 2 (Truecolor)
    png:IHDR.interlace_method: 0 (Not interlaced)
    png:IHDR.width,height: 512, 512
    png:text: 1 tEXt/zTXt/iTXt chunks were found
    signature: c3ed09f3cba0b4cd53b4a4507c6e1b2d862e43f8792a300dfaf2951fc457ef35
  Artifacts:
    verbose: true
  Tainted: False
  Filesize: 389770B
  Number pixels: 262144
  Pixel cache type: Memory
  Pixels per second: 40.1092MP
  User time: 0.000u
  Elapsed time: 0:01.006
  Version: ImageMagick 7.1.1-11 Q16-HDRI x86_64 21206 https://imagemagick.org
```

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora Linux 38
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.107.0
Qt Version: 5.15.9
Comment 1 Rex Lee 2023-07-30 05:59:03 UTC
Created attachment 160618 [details]
This image is the original, the png image corresponding to the UserComment is garbled

The images generated by stable diffusion come with a message that is prompted at the time of generation, which is stored in the image's metadata.
When I use it to view the information about the images generated by stable diffusion, the UserComment under Exit is garbled, while in ExitTool it is displayed normally, and the software becomes very laggy and can only be recovered by restarting.
I set different options but none of them work. I hope you guys can fix this bug or tell me how to set it up. More and more people are using Stable diffusion and many need to manage the large number of images generated, which I think is important.
Comment 2 Rex Lee 2023-07-30 06:01:11 UTC
Comment on attachment 160618 [details]
This image is the original, the png image corresponding to the UserComment is garbled

The images generated by stable diffusion come with a message that is prompted at the time of generation, which is stored in the image's metadata.
When I use it to view the information about the images generated by stable diffusion, the UserComment under Exit is garbled, while in ExitTool it is displayed normally, and the software becomes very laggy and can only be recovered by restarting.
I set different options but none of them work. I hope you guys can fix this bug or tell me how to set it up. More and more people are using Stable diffusion and many need to manage the large number of images generated, which I think is important.
Comment 3 A Linux User 2025-08-22 12:02:54 UTC
Thank you for the bug report. Unfortunately we were not able to get to it yet. Can we ask you to please check if this is still an issue with Gwenview 25.08.0?
Comment 4 Bug Janitor Service 2025-09-06 03:48:05 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2025-09-21 03:47:13 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.