Bug 52384

Summary: Bitmap images in level2sep or level3sep
Product: poppler Reporter: Thomas Freitag <Thomas.Freitag>
Component: generalAssignee: poppler-bugs <poppler-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Repairs bitmap image output

Description Thomas Freitag 2012-07-23 08:03:25 UTC
Created attachment 64532 [details] [review]
Repairs bitmap image output

As I already told in comment 7 of bug 51822, I encountered a problem with bitmap images when using the level2sep or level3sep option of pdftops. You can see that in the output of altona_technical_1v2_x3.pdf in column 5, 11, 17, 23, 29 and 35.
When I digged deeper into it I recognized that the reason for it is the usage of pdfImSep, which works only for images with a depth (BitsPerComponent) of 8 properly.
So the attached patch takes this into account and produces also a proper output with the level2sep or level3sep option.
Comment 1 Albert Astals Cid 2012-08-01 22:23:16 UTC
Pushed!

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.