Menu ▾ ▴

#40 Refactoring TARGA plugin (cont)

closed
None
5
2012-10-31
2010-03-20
No

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

Discussion

  • Mihail Naydenov

    Mihail Naydenov - 2010-03-20

    Faster saving and RLE commpression

     
  • Hervé Drolon

    Hervé Drolon - 2010-03-29

    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é

     
  • Mihail Naydenov

    Mihail Naydenov - 2010-03-30

    Humm, OK, I will take a look, and try to avoid problems in the future. (Developing with gcc 4.4)

     
  • Mihail Naydenov

    Mihail Naydenov - 2010-07-19

    Header only loading

     
  • Mihail Naydenov

    Mihail Naydenov - 2010-07-19

    Added header only loading and done some minor refactoring. (Made cacheIO a class - more convenient to use and auto mem deallocation on destruction)

     
  • Hervé Drolon

    Hervé Drolon - 2010-07-25

    thanks for the patch : it is now merged with the CVS

     
  • SourceForge Robot

    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).

     

Anonymous
Anonymous

Add attachments
Cancel