9
$\begingroup$

After reading the comments under this answer, I was wondering how to view this data in rendered images?

I tried looking in the comment and such places with GIMP, and file but found nothing.

It seems this metadata is printed regardless of whether or not Stamp is enabled.

$\endgroup$

3 Answers 3

9
$\begingroup$

Update: As of 2.75 this data is saved for all renders.


This info is written to the header of the file and only for auto saved renders (animations and command-line renders). For info on how to read the headers see the documentation for the relevant format. I don't believe GIMP has a way to view this data. As ideasman42 said, for EXR files you can use exrheader which is included in the OpenEXR package, for PNG and JPEG files you can use identify -verbose command from the ImageMagick package.

$\endgroup$
1
  • $\begingroup$ Do you know if there is a way to read the image metadata from Python? $\endgroup$
    – user4979
    Commented Aug 6, 2015 at 12:28
4
$\begingroup$

I only tested this for png files, so it might be different for other formats.

The metadata is written to the file as plain text, so you can view it using any text viewer, even notepad. By simply opening one of my renders in notepad, I got this: enter image description here

It may look like a complete mess, but you can easily find the information if you take a closer look.

enter image description here

enter image description here

enter image description here

enter image description here

$\endgroup$
1
  • $\begingroup$ Ah... So it writes it as additional tEXt chunks in the PNG stream? That should mean any program that can parse PNG chunks should be able to read this... interesting... $\endgroup$ Commented Jun 4, 2020 at 9:58
-1
$\begingroup$

The data is printed onto the image as text. You can view the data by looking at the image.

If you want to parse it, you could try OCR of some sort. It may help to set the stamp background to full opacity so that there's no image interference. OCR should then be very accurate.

$\endgroup$
3
  • 1
    $\begingroup$ This is incorrect, the info is written into metadata as well (for image formats which blender can write metadata into (PNG, EXR, JPEG)) $\endgroup$
    – ideasman42
    Commented Aug 31, 2013 at 2:14
  • 1
    $\begingroup$ Using OCR still seems like huge overkill and likerly error prone, when you can read the image as text from the file using existing tools to extract meta-data from the header. $\endgroup$
    – ideasman42
    Commented Aug 31, 2013 at 8:25
  • $\begingroup$ @WChargin I meant how to read the stamp data that is to be written to the image metadata, not into the pixels themselves. sorry the original question wasn't very clear $\endgroup$
    – gandalf3
    Commented Aug 31, 2013 at 19:31

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .