Add Exr Layers

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
Ihno
Posts: 2
Joined: 2016-07-21T00:13:53-07:00
Authentication code: 1151

Add Exr Layers

Post by Ihno »

Is it Possible to use ImageMagick to add layers to exr files and rename them with commandline optons?
If yes, could you please tell me which commands I'd have to use?
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Add Exr Layers

Post by fmw42 »

I do not believe that IM supports layered EXR. But I am not 100% sure. What do you mean by rename them with commandline optons? IM will always read and then write the file. So if you do

convert image.exr image2.exr

It will read and write the image.

For renaming without reading the image, use your OS to do the renaming, such as cp in unix.
Ihno
Posts: 2
Joined: 2016-07-21T00:13:53-07:00
Authentication code: 1151

Re: Add Exr Layers

Post by Ihno »

Damn. Hopefully you are wrong ;-)
My opinion was to make a batch file which creates a multilayered exr out of two single layered exr's with a specifired name for the second layer.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Add Exr Layers

Post by fmw42 »

IM will not create layer names in any format as far as I know. IM's use of EXR is limited to "half" format and simple images, again, as far as I know. I will, however, defer to the IM developers to correct me.
Post Reply