POV-Ray : Newsgroups : povray.advanced-users : Write to image metadata : Re: Write to image metadata Server Time
29 Apr 2024 15:38:55 EDT (-0400)
  Re: Write to image metadata  
From: Le Forgeron
Date: 8 Feb 2015 14:15:36
Message: <54d7b5d8$1@news.povray.org>
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)


Post a reply to this message

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