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$
8
$\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.

| improve this answer | |
$\endgroup$
  • $\begingroup$ Do you know if there is a way to read the image metadata from Python? $\endgroup$ – Pisurquatre Aug 6 '15 at 12:28
2
$\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

| improve this answer | |
$\endgroup$
  • $\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$ – MathematicalOrchid Jun 4 at 9:58
0
$\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.

| improve this answer | |
$\endgroup$
  • 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 Aug 31 '13 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 Aug 31 '13 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 Aug 31 '13 at 19:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.