Data info/Properties

Use this forum for general user support and related questions.
Forum rules
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
User avatar
FarbigeWelt
Donor
Donor
Posts: 1046
Joined: Sun Jul 01, 2018 12:07 pm
Location: Switzerland
Contact:

Data info/Properties

Post by FarbigeWelt »

How is it possible to save meta data for output files. I mean data like luxcore info or render setup?
If it is currently not possible but principally is, it would be a nice task I‘d like to take.
Light and Word designing Creator - www.farbigewelt.ch - aka quantenkristall || #luxcorerender
MacBook Air with M1
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: Data info/Properties

Post by B.Y.O.B. »

Do you mean when rendering from Blender, or from standalone LuxCore?
From Blender, you could use the stamp note: https://blender.stackexchange.com/quest ... ary-values
We could add a render_pre handler to BlendLuxCore.
User avatar
alpistinho
Developer
Developer
Posts: 198
Joined: Thu Jul 05, 2018 11:38 pm
Location: Rio de Janeiro

Re: Data info/Properties

Post by alpistinho »

Hi,

I've left a comment some time ago at a GitHub issue about this, but I think it is relevant here too.

Have you thought about using SQLite as a generic format for storing all the information that is currently spreadout in multiple files? It could support storing any metadata.

https://www.sqlite.org/appfileformat.html
Support LuxCoreRender project with salts and bounties
User avatar
FarbigeWelt
Donor
Donor
Posts: 1046
Joined: Sun Jul 01, 2018 12:07 pm
Location: Switzerland
Contact:

Re: Data info/Properties

Post by FarbigeWelt »

Blender plugin makes more sense because of blender’s GUI for e.g. text entries.

Well actually I meant to store information about system, setup and render statistics in the file information like cameras or image processing software does including author, contacts, software type, copyright, etc.
Stamping

There are for sure different use cases for that kind of data.

In my case, rendering a dozen time or more the same scene and point of view but one or few changed parameters for testing, learning and optimizing them requires to change same information at different places and it’s to easy to forget an entry with the result to start the test series from the beginning to avoid wrong interpretatios.

Sure a data base could be a solution, in my case it would require to be accessable from different operating systems and users. The chosen data base type should therefore support server, clients, users and multiple platforms.
Light and Word designing Creator - www.farbigewelt.ch - aka quantenkristall || #luxcorerender
MacBook Air with M1
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: Data info/Properties

Post by B.Y.O.B. »

FarbigeWelt wrote: Tue Jan 29, 2019 6:29 pm Well actually I meant to store information about system, setup and render statistics in the file information like cameras or image processing software does including author, contacts, software type, copyright, etc.
Stamping in Blender does this. The text in the image pixels is only optional.
Below is the result of using a custom stamp text in Blender.
You can see that it contains the line "Note: Note from LuxCore".

P.S. I think my wording is wrong. "Stamping" in Blender is indeed the act of putting text into the image pixels. I should have used the term "Metadata".

Code: Select all

> exiftool -a untitled.png 

ExifTool Version Number         : 9.46
File Name                       : untitled.png
Directory                       : .
File Size                       : 367 kB
File Modification Date/Time     : 2019:01:29 19:43:03+01:00
File Access Date/Time           : 2019:01:29 19:43:17+01:00
File Inode Change Date/Time     : 2019:01:29 19:43:03+01:00
File Permissions                : rw-rw-r--
File Type                       : PNG
MIME Type                       : image/png
Image Width                     : 960
Image Height                    : 540
Bit Depth                       : 8
Color Type                      : RGB with Alpha
Compression                     : Deflate/Inflate
Filter                          : Adaptive
Interlace                       : Noninterlaced
Pixels Per Unit X               : 2835
Pixels Per Unit Y               : 2835
Pixel Units                     : Meters
File                            : /home/simon/Projekte/BlendLuxCore_tests/aniso2.blend
Note                            : Note from LuxCore
Date                            : 2019/01/29 19:42:51
Time                            : 00:00:00:01
Frame                           : 001
Camera                          : Camera
Scene                           : Scene
Render Time                     : 00:02.77
Image Size                      : 960x540
Attachments
untitled.png
2019-01-29_19-44-36.png
User avatar
FarbigeWelt
Donor
Donor
Posts: 1046
Joined: Sun Jul 01, 2018 12:07 pm
Location: Switzerland
Contact:

Re: Data info/Properties

Post by FarbigeWelt »

B.Y.O.B. wrote: Tue Jan 29, 2019 6:45 pm
You can see that it contains the line "Note: Note from LuxCore".

.. term "Metadata".
These are Great News! And obviously works for you and with the exiftool.

What I do not understand is that I cannot get this exif information (some boxes are checked by default) nor with OS X Finder neither with Win 10 File Explorer and also not with Lightroom. The latter I‘ve taken your file, saved it locally in a iOS photo library and imported you image into Lightroom mobile. What shows not any exif data in your file.
one
one
two
two
From lightroom to ios photolib and back
From lightroom to ios photolib and back
Please check meta data of last image. Thanks.
Last edited by FarbigeWelt on Tue Jan 29, 2019 7:41 pm, edited 2 times in total.
Light and Word designing Creator - www.farbigewelt.ch - aka quantenkristall || #luxcorerender
MacBook Air with M1
User avatar
alpistinho
Developer
Developer
Posts: 198
Joined: Thu Jul 05, 2018 11:38 pm
Location: Rio de Janeiro

Re: Data info/Properties

Post by alpistinho »

I think I misunderstood what you've meant.
I thought you were talking about storing metadata in the output files like those that can be used to render on LuxCoreUI.

You're talking however about putting metadata about the image output. Of course a database is not the right solution for the latter.

Thanks
Support LuxCoreRender project with salts and bounties
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: Data info/Properties

Post by B.Y.O.B. »

My linux file browser also doesn't show this EXIF info.
You could try exiftool as well, it's available for all platforms: https://www.sno.phy.queensu.ca/~phil/exiftool/
epilectrolytics
Donor
Donor
Posts: 790
Joined: Thu Oct 04, 2018 6:06 am

Re: Data info/Properties

Post by epilectrolytics »

FarbigeWelt wrote: Tue Jan 29, 2019 6:29 pmWell actually I meant to store information about system, setup and render statistics in the file information like cameras or image processing software does including author, contacts, software type, copyright, etc.
That's a very good Idea!

I always wondered why every cheap cam manages to get all the data in the jpg exif but none of the renderers does.
But what about exif in PNG files, is that supported?

Anyways thanks for looking into that, much appreciated!
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: Data info/Properties

Post by B.Y.O.B. »

epilectrolytics wrote: Wed Jan 30, 2019 1:10 pm But what about exif in PNG files, is that supported?
Yes, the example image I posted is a PNG.
Post Reply