[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] TortoiseIDiff optionally using FreeImage.dll for image loading

From: Will Wilson <willw_at_fireflyworlds.com>
Date: 2006-09-26 17:40:58 CEST

Hi All,

                I've concocted a quick & dirty patch to use the
FreeImage library from within TortoiseIDiff. The key thing is that it
only uses the FreeImage.dll functionality if the DLL is available,
otherwise it just uses the existing code-path (GDI+).


It's taken a bit of work to do the dynamic linking (function pointer
syntax is always ugly), but hopefully it's a nice compromise between
binary bloat & supporting loads of image formats - including DDS.


To try it out simply compile a patched TortoiseIDiff.exe, drop the
FreeImage.dll (see http://freeimage.sourceforge.net/download.html) next
to it & run the app.


Although the code isn't pretty (& it could use a little more error
checking); it should do the job.





To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org

Received on Tue Sep 26 17:41:30 2006

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.