From kde-devel Wed Aug 27 12:03:50 2003 From: Waldo Bastian Date: Wed, 27 Aug 2003 12:03:50 +0000 To: kde-devel Subject: Re: [PATCH] Need help with problem about MS-DOS EPS files X-MARC-Message: https://marc.info/?l=kde-devel&m=106198615024658 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sunday 24 August 2003 16:38, Nicolas Goutte wrote: > I have tried to teach kimgio about MS-DOS EPS files (those binary files > with TIFF or WMF preview.) > > The attached patch is the current state of what I have done. The patch is > for KDE_3_1_BRANCH, for the file kdelibs/kimgio/eps.cpp. > > However, I have a problem that QImageIO seems not to recognise this kind of > file. The EPS kimgio is not even called. > > I have noticed the Header entry in eps.kimgio but when I make this entry > empty not even normal EPS files work. (My test program is kview and a > thumbnail creation that is modified to be done as an image. Everything in > KDE_3_1_BRANCH.) > > So if someone had an idea how to continue, it would be nice. You will need to add something like [0xc5][0xd0] to the Header regexp, the exact syntax is a bit tricky. Do you have an example MS-DOS EPS file? Cheers, Waldo - -- bastian@kde.org -=|[ SuSE, The Linux Desktop Experts ]|=- bastian@suse.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE/TJ4mN4pvrENfboIRAmbXAKCUAPRue63r2RkSBQXhUD6l55VbrgCeO41U 8u3v0L2qNTtYo2C6aXXu930= =sFQa -----END PGP SIGNATURE----- >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<