It seems there is still a problem with evince or poppler.  The recent
fix to poppler has fixed the problem for PS but not for PDF.

In Bug #199916, dominik suggests downloading
   http://png2pdf.sourceforge.net/png2pdf.pdf
and looking at "Figure 7: Image without interpolation".  With evince (version 
2.26.1 with poppler 0.10.5), the image is nevertheless interpolated.  (Use 
Acrobat Reader for example to see the correct display of the figure.)

As a second example, the following is very similar to BioStatMatt's previous 
example for PS:  
The PDF code below specifies an image that should be displayed without 
interpolation.  Copy and paste this code into a text editor and save as 
"test.pdf," then open it with evince.  In spite of the "/Interpolate false" 
instruction against doing so, evince (version 2.26.1 with poppler 0.10.5) will 
display with interpolation.

%PDF-1.4
1 0 obj
<<
/Producer (bmeps)
>>
endobj
2 0 obj
<<
/Type /Catalog
/Pages 3 0 R
>>
endobj
3 0 obj
<<
/Type /Pages
/Count 1
/Kids [
4 0 R
]
>>
endobj
4 0 obj
<<
/Type /Page
/Parent 3 0 R
/MediaBox [ 0 0 8 8 ]
/Resources <<
/ProcSet [ /PDF /ImageC ]
/XObject 6 0 R
>>
/Contents 5 0 R
>>
endobj
5 0 obj
<< /Length 30 >>
stream
q
8 0 0 8 0 0 cm
/X7 Do
Q
endstream
endobj
6 0 obj
<<
/X7 7 0 R
>>
endobj
7 0 obj
<<
/Type /XObject
/Subtype /Image
/Width 8
/Height 8
/ColorSpace /DeviceRGB
/BitsPerComponent 8
/Interpolate false
/Length 71
/Filter [ /ASCII85Decode /FlateDecode  ]
>>
stream
GhQY8@/,e6JD`YZ65'K"s8Sib_--f#Ul]`Y(C(!JLAqkps,kQW$_g1c$GrV>*'$.C
~>
endstream
endobj
xref 0 8
0000000000 65535 f
0000000010 00000 n
0000000054 00000 n
0000000109 00000 n
0000000177 00000 n
0000000332 00000 n
0000000416 00000 n
0000000452 00000 n
trailer
<< /Size 8 /Info 1 0 R /Root 2 0 R >>
startxref
739
%%EOF


** Attachment added: "test.pdf"
   http://launchpadlibrarian.net/30883589/test.pdf

-- 
evince automatically interpolates embedded PostScript and PDF images
https://bugs.launchpad.net/bugs/249400
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug assignee.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to