A patch that speeds up SAVING, and adds RLE compression option for all TGA image formats.
Besides applying the patch one must add a new TARGA_SAVE_RLE flag in FreeImage.h "Load / Save flag constants" line ~725
@drolon The original patch* was closed automatically ... this is unfortunate. Is it possible to disable this auto closing? FI features and patches are developed over long periods of time...much longer than the formal 14days. I think its ok for some patches to stay open undefinitely.
As I said in the original patch, am planning 3 part refactor, so there will be pt.3 where the necessary metadata is added for at least an information if the file was originally compressed or not. This will finally open the door for the Open->Edit->Save scenario, where the notion of "this is the same file" is (more or less) preserved.
*https://sourceforge.net/tracker/?func=detail&aid=2822109&group_id=11504&atid=311504
Anonymous
Faster saving and RLE commpression
Hi Mihail,
Your patch does not compile "as is" under VS 2005 or VS 2008.
I've made a few fixes and merged it with the CVS.
I will let this tracker "open" until the next patch or FreeImage release.
Hervé
Humm, OK, I will take a look, and try to avoid problems in the future. (Developing with gcc 4.4)
Header only loading
Added header only loading and done some minor refactoring. (Made cacheIO a class - more convenient to use and auto mem deallocation on destruction)
thanks for the patch : it is now merged with the CVS
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).