|
From: | Florian Kainz |
Subject: | Re: [Openexr-devel] Adding/updating attribute to existing OpenEXR file |
Date: | Tue, 26 Aug 2008 14:20:04 -0700 |
User-agent: | Mozilla Thunderbird 1.0 (X11/20041207) |
The attributes in an OpenEXR file are tightly packed. Any edit that adds or removes an attribute or that changes the size of an attribute requires copying the file. In principle changing the value of an attribute without changing its size can be done in place, but the IlmImf library does not currently support this. The copyPixels() operation in Ken's example is pretty fast because it directly copies the pixels in compressed form without expanding and recompressing the data. Florian
[Prev in Thread] | Current Thread | [Next in Thread] |