openexr-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Openexr-devel] Copying an exr header excluding the channelList


From: Jeff Clifford
Subject: [Openexr-devel] Copying an exr header excluding the channelList
Date: Wed, 12 Jan 2011 18:29:54 +0000
User-agent: Thunderbird 2.0.0.18 (X11/20081105)

Hi,

Does anyone know if there is an easy way to copy across an exr header without copying across the channellist as part of that?

I need to change the channel names e.g. __depth.r so that they are moved into a view for an sxr - i.e. the channelname becomes __depth.left.r

It would be really easy if I could do the header copy and then either remove the channellist from the object (and then create a new one) or change the channel names in place but looking through the headers that doesn't look possible - you can only insert channels.

I'm thinking there must be an easier way of doing this rather than somehow iterating over every header attribute and copying each one across.

Thanks,

Jeff.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]