Bug 687665 - pdf2ps - inefficient rendering of images
Summary: pdf2ps - inefficient rendering of images
Status: RESOLVED DUPLICATE of bug 686919
Alias: None
Product: Bug Tracker
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: PC Linux
: P2 normal
Assignee: Jack Moffitt
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-09 13:26 UTC by Gerhard Fuernkranz
Modified: 2007-12-13 12:55 UTC (History)
0 users

See Also:
Customer:
Word Size: ---


Attachments
PDF file fed into pdf2ps (562.44 KB, application/pdf)
2004-09-09 13:30 UTC, Gerhard Fuernkranz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gerhard Fuernkranz 2004-09-09 13:26:24 UTC
The source PDF file contains an image.
In the resulting PS file, the image is not converted to
a PostScript "colorimage" as expected, but painted in a
very strange, and inefficient way (see below). The resulting
PS file is extremely huge. It looks like in the PS file,
each image pixel is drawn separately with the "fill"
operator, is it?

...
%%Page: 1 1
%%BeginPageSetup
GS_pswrite_2_0_1001 begin
511 383 null setpagesize
/pagesave save store 197 dict begin
0.1 0.1 scale
%%EndPageSetup
gsave mark
100 145 212 rG
310 3829 5 1 rf
102 146 212 rG
315 3829 9 1 rf
103 146 214 rG
324 3829 4 1 rf
106 145 212 rG
328 3829 9 1 rf
107 146 213 rG
337 3829 9 1 rf
108 149 214 rG
346 3829 10 1 rf
107 148 214 rG
356 3829 9 1 rf
103 149 216 rG
365 3829 4 1 rf
104 147 215 rG
369 3829 5 1 rf
105 146 215 rG
374 3829 2 1 rf
106 145 215 rG
376 3829 2 1 rf
108 146 217 rG
378 3829 5 1 rf
108 147 215 rG
383 3829 2 1 rf
109 148 216 rG
385 3829 9 1 rf
108 147 215 rG
394 3829 3 1 rf
107 144 214 rG
397 3829 2 1 rf
...
Comment 1 Gerhard Fuernkranz 2004-09-09 13:30:38 UTC
Created attachment 890 [details]
PDF file fed into pdf2ps
Comment 2 Jack Moffitt 2004-09-13 06:46:26 UTC
We plan to fix this and other problems in the rewrite to maek pswrite a high
level device, similar to pdfwrite.

*** This bug has been marked as a duplicate of 686919 ***