1 Aug 2002 23:06
EPS: testers needed (KWord/KPresenter)
Nicolas Goutte <nicog <at> snafu.de>
2002-08-01 21:06:29 GMT
2002-08-01 21:06:29 GMT
I had to change the support for EPS files in KoPicture (KWord/KPresenter). EPS files are now handled by a separate class KoPictureEps. The change is for KOffice 1.2 post-RC1. The main changes compared to normal images are: - no sampling at load, only at first draw. - support of so-called "MS-DOS EPS files" (those with the binary preview.) - memory gain. Notes: - the sampling at load was a problem for larger files. Now such files should load faster. Only the first draw in KWord is slower, as it is not done as a fast scaling anymore. (KPresenter always makes slow scalings.) - even the new code does not use any preview of the "MS-DOS EPS files". The code just know now where to find the PostScript stream. The preview is discarded at load. - the memory gain is because we do not sample an image at the original size of the image. Fast scaling is done from the pixmap at drawing size. It is not a problem, as in KPresenter fast scaling is never used and in KWord any change of size triggers a re-sampling (slow scaling.) Now I would like to have testers, especially people having EPS files with binary previews. As told, this is not in KOffice 1.2 RC1 but only in CVS. Thank you in advance! Have a nice day/evening/night!
To be clear for everyone: you need GhostScript to be able to use PostScript
files in KWord and KPresenter.
Have a nice day/evening/night!
On Freitag, 2. August 2002 15:14, Nicolas Goutte wrote:
> On Freitag, 2. August 2002 09:30, Thomas Zander wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > Could you be a bit more specific which eps-es work? None of the files I
> > have work.
>
> Any normal 7-bit EPS file should work (also the EPSI ones with the preview
> coded as comment.)
>
> As for the EPS files with binary previews, I do not know. I have made it
> after a short description of the header of such an EPS file. After having
> found out that GhostScript supports the same header, I have tried to do it.
> (David had asked me ages ago, if I could implement this support somehow.)
(...)
RSS Feed