Summary: | [PATCH] BoundingBox ignored when generating thumbnails from EPS files | ||
---|---|---|---|
Product: | [Unmaintained] kio | Reporter: | Philipp Hullmann <phull> |
Component: | thumbnail | Assignee: | Malte Starostik <malte> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Patch for correct handling of EPS bounding boxes and embedded previews. |
Description
Philipp Hullmann
2002-07-10 22:48:57 UTC
Created attachment 782 [details]
Patch for correct handling of EPS bounding boxes and embedded previews.
This patch (against KDE 3.0.5a) determines size and resolution of the thumbnail
image from the bounding box given in the EPS file. To be treated this way, a
file has to have a name ending in .eps or .epsi and fulfill the structure
requirements for EPS. For anything else, a full-page preview is generated as
before. If the file contains a platform-independent preview image, this is
extracted and used instead of calling ghostscript (this procedure is
significantly faster).
In addition to this patch you need to copy the DSC parser contained in files
dscparse.{cpp,h} and dscparse_adapter.{cpp.h} from
kdegraphics/kfile-plugins/ps.
Thanks for the patch, sorry for the delay. Applied for KDE 3.3 |