POV-Ray : Newsgroups : povray.tools.general : user info in png file header Server Time
29 Mar 2024 03:22:23 EDT (-0400)
  user info in png file header (Message 1 to 1 of 1)  
From: jr
Subject: user info in png file header
Date: 3 Mar 2022 02:40:00
Message: <web.62206f9ccdd78bc4ed36e5cb6cde94f1@news.povray.org>
hi,

creating this thread to discuss extra information which could be embedded in the
headers of rendered images, like for example legalese and details of source file
(and render settings), as suggested by Bald Eagle in
<https://news.povray.org/povray.binaries.images/thread/%3Cweb.621faeb7c1365d06ed36e5cb6cde94f1%40news.povray.org%3E/>.

"the idea" is to come up with a few thought-useful standard tags which would
then be the (informally) "recommended" means for POV-Ray users to .. augment
their images.

"comments" included in a PNG (expect Jpeg to be same) consist (technically) of
type 'tEXt' chunks, which are simple key value pairs, where values frequently
contain further, nested key value pairs.

POV-RAY inserts something like (with added spacing):

  Software
    POV-Ray v3.8.0-alpha.10008988.unofficial

  Comment
    Render Date: 2019-01-12 17:00:02Z
    Platform:    x86_64-slackware-linux-gnu
    Compiler:    g++ -std=gnu++11 4.8.2


for the source file I'd suggest something along the lines of:

  Source
    File name:
    File date:
    File ref:

where 'File ref' could be a fossil/git "artefact" id, for instance.  (obvs
naming + details etc all up for discussion)

so, if you're interested in adding a copyright notice or any such to your
images, comment(s) please.


regards, jr.


Post a reply to this message

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