unbearably slow when saving an non-compressed TIFF file using wxtiff

Vadim Zeitlin vadim at wxwindows.org
Tue Sep 5 03:05:04 PDT 2006


On 5 Sep 2006 01:30:46 -0700 Ludvik <Haomin.Liu at gmail.com> wrote:

L> Now, .tiff files can be succesfully saved out, but the speed is
L> unbearably slow: Saving a 1000 * 1000 pixel image could use up to 20
L> seconds!
L> 
L> Is there ways to improve the saving tiff archive speed??

 Is this with the built in library version or the system one?

 Anyhow, I don't really know what's going on here, maybe the saving is so
slow because the uncompressed TIFF files are huge (what is the size of the
output?). You'd need to save a file using libtiff directly to know if the
problem is in wx wrapping of it or the library itself. Or maybe profile the
code and see if it spends an inordinate amount of time in wx parts.

 Regards,
VZ
-- 
TT-Solutions: wxWidgets consultancy and technical support
               http://www.tt-solutions.com/






More information about the wx-users mailing list