2008.10.05 20:47 "RE: [Tiff] Compression code 34719 (MDI Tiffs)", by ComSquare Martin Osieka
If you could provide an interface which renders an EMF stream or file to ARGB (trancparency would be nice because I'm doing this with a dirty trick in the moment) then I could provide a codec which can be registered in libtiff for code 34719.
From: email@example.com [mailto:firstname.lastname@example.org] On Behalf Of Brad Hards
On Wednesday 01 October 2008 09:34:50 am Bob Friesenhahn wrote:
Tuesday, September 30, 2008, 8:03:49 PM, you wrote: CMO> So I'm able to view these special TIFFs in our product on
Windows but I can not offer a general solution because for this you would need a platform independent EMF to bitmap converter.
libwmf only supports WMF files rather than the newer EMF format.
I've been working on an EMF renderer using Qt 4, which is nominally platform independent. It doesn't yet handle all record types, but I'm working through a range of examples, fixing as required.
It lives in KDE's subversion repository: http://websvn.kde.org/trunk/playground/graphics/okular/emf/emf/
There is a small KDE dependency, but it wouldn't be hard to remove (just for visibility management). It would be hard to remove the Qt dependency.
LGPL license. Patches / bug reports appreciated.