POV-Ray : Newsgroups : povray.advanced-users : Write to image metadata : Re: Write to image metadata Server Time
29 Apr 2024 15:23:08 EDT (-0400)
  Re: Write to image metadata  
From: Mike Horvath
Date: 8 Feb 2015 14:23:53
Message: <54d7b7c9$1@news.povray.org>
On 2/8/2015 2:15 PM, Le_Forgeron wrote:
> Le 08/02/2015 19:27, Mike Horvath a écrit :
>> I think this was asked already a while ago, but are there any plans on
>> letting people write to image metadata from within POVray?
>>
>> Thanks!
>
> Available room in metadata (including number of bytes and encoding)
> varies a lot from one format to another.
>
> So far, povray writes to metadata, its own choice of data, as something
> like 4 lines, up each to 80 characters (no line feed, no tab). (that's
> kind of least common form for all formats that support metadata)
>
> First two lines are used for platform & compiler, but the last 2 lines
> are kind of opened, if you compile with METADATA_COMMENT_3 and
> METADATA_COMMENT_4 to be either a constant string or (more interesting)
> what ever string-returning-function(s) that you want.
>
> That is for the comment part.
> Other metadata such as software, date and render time might get inside
> the part written, but sometime there is no such place for such info.
>
> So, you're just one custom compilation away from something you might
> want. Or you want to be more precise about your metadata.
>
> (All above only for 3.7 and onwards)
>
>


OK, thanks. Yes, I meant the comment part. I just checked a Windows 7 
PNG file and don't see anything besides besides color depth, format, 
dimensions, etc.. XnView doesn't show the comment either.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.