[REQ] Comments in rendered images

Feature requests, bug reports and related discussion
User avatar
OnoSendai
Developer
Posts: 6243
Joined: Sat May 20, 2006 6:16 pm
Location: Wellington, NZ
Contact:

Post by OnoSendai » Wed Sep 19, 2007 6:38 am

zsouthboy wrote:Any half-decent image editor should allow you to view the extra information.
Can't see it in any of the ones I've tried, including the Gimp, which is certainly half-decent.

User avatar
Zom-B
1st Place 100
Posts: 4701
Joined: Tue Jul 04, 2006 4:18 pm
Location: ´'`\_(ò_Ó)_/´'`
Contact:

Post by Zom-B » Wed Sep 19, 2007 7:47 am

OnoSendai wrote:Can't see it in any of the ones I've tried, including the Gimp, which is certainly half-decent.
Gimp supports EXIF display since v2.3.9.... simply try using recent 2.4.0 RC2
polygonmanufaktur.de

User avatar
CoolColJ
Posts: 1738
Joined: Mon Jun 25, 2007 1:47 pm

Post by CoolColJ » Wed Sep 19, 2007 9:00 am

what about ACDSEE or the older versions?

I use it's thumbnail browser a lot. Shows lots of Exif data

Maybe even Window's thumbnail view with right click properties? It normally shows quite a bit of info. Even hovering the mouse over photos I've taken will show what camera was used to take it etc and then right click will show everything including exposure

IanC
Posts: 147
Joined: Thu Aug 24, 2006 4:46 am

Post by IanC » Wed Sep 19, 2007 12:22 pm

In Gimp, it's view->info window, or ctrl-shift-i

That lets you read the comments in exif data, anyway.

In kde 3.5, you can see the meta data by right clicking on it.

User avatar
OnoSendai
Developer
Posts: 6243
Joined: Sat May 20, 2006 6:16 pm
Location: Wellington, NZ
Contact:

Post by OnoSendai » Wed Sep 19, 2007 3:20 pm

it's not EXIF data though.

IanC
Posts: 147
Joined: Thu Aug 24, 2006 4:46 am

Post by IanC » Thu Sep 20, 2007 12:44 pm

It is the comments in the exif data, if you want to first check you're writing properly to the files.

Or you could download infranview, I know that will show exif data (press e I think). http://www.irfanview.com/

User avatar
OnoSendai
Developer
Posts: 6243
Joined: Sat May 20, 2006 6:16 pm
Location: Wellington, NZ
Contact:

Post by OnoSendai » Mon Sep 24, 2007 4:55 am

IanC wrote:It is the comments in the exif data, if you want to first check you're writing properly to the files.

Or you could download infranview, I know that will show exif data (press e I think). http://www.irfanview.com/
It's not Exif comments either.

The only half-decent solution I can think of is to add a little command-line switch to indigo, that will dump all metadata out of a specified PNG file.
e.g.
indigo_console.exe --showmetadata renders/im456456.png

render time: 456456s
samples per pixel: 45654

User avatar
Kram1032
Posts: 6649
Joined: Tue Jan 23, 2007 3:55 am
Location: Austria near Vienna

Post by Kram1032 » Mon Sep 24, 2007 5:24 am

what the hell IS exif, then? xD

User avatar
Heavily Tessellated
Posts: 108
Joined: Thu Aug 10, 2006 4:20 pm
Location: Huh?

Post by Heavily Tessellated » Mon Sep 24, 2007 5:35 am

http://pmt.sourceforge.net/pngmeta/

The PNG & MNG Tools set has pngmeta, which is probably much like what you envision for the --flag extracting of said fields... if you don't want to add the display code to the indigo executable, we could just send people there...

Alternatively there are precompiled binaries for Windows and linux here: http://www.libpng.org/pub/png/apps/pngmeta.html

and yep, gimp-2.2.15 seems to only reads comment, no additional fields - and apparently only reads it's -own- comments; trying the PNG samples from the above toolkit, it reads nothing! Weird, that.

IanC
Posts: 147
Joined: Thu Aug 24, 2006 4:46 am

Post by IanC » Mon Oct 01, 2007 12:14 am

OnoSendai wrote: It's not Exif comments either.
Really? Because I'm setting the "JPEG Exif comments" in kde, and they are appearing in GIMP under 'comments'.
and apparently only reads it's -own- comments;
Not for me, see the attached image. [edit removed beacuse it's huge, will compress and re-up] [edit 2: re-upped]
Attachments
exif.jpg
exif.jpg (64.63 KiB) Viewed 3084 times

User avatar
Heavily Tessellated
Posts: 108
Joined: Thu Aug 10, 2006 4:20 pm
Location: Huh?

Post by Heavily Tessellated » Mon Oct 01, 2007 5:00 am

IanC wrote:
and apparently only reads it's -own- comments;
Not for me, see the attached image. [edit removed beacuse it's huge, will compress and re-up] [edit 2: re-upped]
Uhm that's gimp, but what did you set the comment with? If you set it with gimp, yes, gimp will read it back. That's what "it's -own- comments" meant. Try to set it with another app, perhaps ImageMagick, then open it in gimp - the Image Information window will go dumb and show nothing...

nonetheless if nik feels like adding PNG tEXt tag:value pairs the proper way, I'm sure we'll be able to extract said data one way or another. But not with gimp, for now anyway.

User avatar
OnoSendai
Developer
Posts: 6243
Joined: Sat May 20, 2006 6:16 pm
Location: Wellington, NZ
Contact:

Post by OnoSendai » Mon Oct 01, 2007 9:42 pm

Ok, i've added this feature.
Will be available in next indigo test.
the information is extracted like this:

Code: Select all

PS C:\programming\indigo\trunk\indigo_x86> .\indigo_console.exe --dumpmetadata 'C:\programming\indigo\trunk\indigo_x86\r
enders\im1191231596.png'
Indigo Renderer v0.9 test 8, Windows 32-bit Debug build.
SSE present.
SSE2 present.
SSE3 present.
------------ Metadata --------------
Indigo version used: Indigo Renderer v0.9 test 8, Windows 32-bit Debug build.
bidirectional: 1
height: 450
hybrid: 0
large_mutation_prob: 0.40000
max_change: 0.01000
max_num_consec_rejections: 1000
maxdepth: 10000
metropolis: 0
num_samples: 200000.00000
num_threads: 3
ray_origin_nudge_distance: 0.00001
render time elapsed: 13.07560
samples_per_pixel: 0.74074
samples_per_sec: 15295.66058
scene_file_path: C:\programming\models\testscenes\specular_sphere_test.igs
super_sample_factor: 1
width: 600

User avatar
CoolColJ
Posts: 1738
Joined: Mon Jun 25, 2007 1:47 pm

Post by CoolColJ » Mon Oct 01, 2007 10:13 pm

great, that will be very handy

User avatar
Kram1032
Posts: 6649
Joined: Tue Jan 23, 2007 3:55 am
Location: Austria near Vienna

Post by Kram1032 » Tue Oct 02, 2007 1:40 am

Great :D
Heavily Tessellated wrote:
IanC wrote:
and apparently only reads it's -own- comments;
Not for me, see the attached image. [edit removed beacuse it's huge, will compress and re-up] [edit 2: re-upped]
Uhm that's gimp, but what did you set the comment with? If you set it with gimp, yes, gimp will read it back. That's what "it's -own- comments" meant. Try to set it with another app, perhaps ImageMagick, then open it in gimp - the Image Information window will go dumb and show nothing...

nonetheless if nik feels like adding PNG tEXt tag:value pairs the proper way, I'm sure we'll be able to extract said data one way or another. But not with gimp, for now anyway.
@ Heavily:
IanC wrote:I'm setting the "JPEG Exif comments" in kde

IanC
Posts: 147
Joined: Thu Aug 24, 2006 4:46 am

Post by IanC » Tue Oct 02, 2007 6:06 am

Cool, cheers Nick.

Kram, thanks :)

HT, as Kram points out, I did it in KDE. That's what 'in kde' means :p

Post Reply
36 posts

Who is online

Users browsing this forum: Ahrefs [Bot] and 15 guests