openexr-devel
[Top][All Lists]
Advanced

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

[Openexr-devel] compression


From: franco cortesi
Subject: [Openexr-devel] compression
Date: Thu, 7 Feb 2013 09:31:27 -0300

Hi!. i'm trying to change  compression types with exrstdattr. but it doesn't work:


//
// Load the input file, add the new attributes,
// and save the result in the output file.
//

InputFile in (inFileName);
Header header = in.header();
header.compression() = Imf::RLE_COMPRESSION;



it compiles but when i try to convert some files it raises:

 Quick pixel copy from image file ".." to image file ".." failed. The files use different compression methods.



dont know know exactly what i'm doing, just try and error. the purpose of this code is to use exrstdattr as back end for a little tool im working on, a command line and gui based batch exr conversor.

and sorry but i haven't found so much info about compression on exr docs or web searching :)

reply via email to

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