After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 543438 - automatically interpolates embedded PostScript images
automatically interpolates embedded PostScript images
Status: RESOLVED DUPLICATE of bug 445797
Product: evince
Classification: Core
Component: PS
2.22.x
Other Linux
: Normal normal
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-07-17 14:26 UTC by Pedro Villavicencio
Modified: 2008-07-24 09:57 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22


Attachments
kghostview on left, evince on right (322.22 KB, image/png)
2008-07-24 01:47 UTC, Matthew Shotwell
Details

Description Pedro Villavicencio 2008-07-17 14:26:38 UTC
this bug has been filed here:

https://bugs.edge.launchpad.net/ubuntu/+source/evince/+bug/249400

"In the following Postscript code, an image should be displayed without interpolation (smoothing). GhostScript and KGhostView, and others correctly interpret this code. However, evince interpolates the image automatically without regard to the explicit instruction ( /Interpolate false ) not to"

Example code:

%!PS-Adobe EPSF-3.0
%%Title: evince automatically interpolates
%%Creator: BioStatMatt
%%CreationDate: Tue Jul 1 09:47:45 2008
%%Origin: 0 0
%%BoundingBox: 0 0 504 504
%%Magnification: 1.0000
%%EndComments
/DeviceRGB setcolorspace

gsave 72 72 translate 36 36 scale
<<
  /ImageType 1
  /Width 10
  /Height 10
  /ImageMatrix [1 0 0 1 0 0]
  /MultipleDataSources false
  /DataSource {currentfile 3 string readhexstring pop}
  /BitsPerComponent 8
  /Decode [0 1 0 1 0 1]
  /Interpolate false
>> image

dada00e2e200caca00272700f4f400
5c5c00e2e200f2f200818100373700
a3a300474700eded009b9b00a6a600
444400696900444400bdbd005f5f00
1d1d00b3b300b0b0004c4c00d8d800
4f4f00a3a3003c3c00b0b0005c5c00
4c4c000505003a3a00989800b5b500
b0b000f4f4009393001d1d006e6e00
4c4c00c0c000373700323200dddd00
6161001010003f3f00272700b8b800
222200444400efef00d2d200939300
c0c000a3a300b8b800fcfc00d5d500
0d0d00424200dddd004747005f5f00
0d0d007979004c4c00222200969600
3f3f00fafa00d8d800767600252500
b0b000595900a8a800717100838300
e5e500151500c8c800cdcd00e7e700
dddd000808008686008e8e00101000
5454009e9e00c8c800b3b300676700
202000444400e2e200f7f700676700

grestore
showpage
%%Trailer
%%EOF

Thanks,
Comment 1 Carlos Garcia Campos 2008-07-20 10:54:06 UTC
I think I cannot reproduce it, could you provide a screenshot showing the problem please? Which ps backend are you using libspectre or gs?

Thanks. 
Comment 2 Matthew Shotwell 2008-07-24 01:45:41 UTC
Attached is a screenshot of the phenomenon. On the left is the out-of-box kghostview client, on the right is out-of-box evince. Synaptic says it uses Ghostscript.
Comment 3 Matthew Shotwell 2008-07-24 01:47:24 UTC
Created attachment 115138 [details]
kghostview on left, evince on right
Comment 4 Carlos Garcia Campos 2008-07-24 09:57:54 UTC
It's already fixed compiling evince with the libspectre PS backend. Or just upgrade evince to 2.23.x since the GS backend has been removed. 

Thanks for taking the time to report this bug.
This particular bug has already been reported into our bug tracking system, but we are happy to tell you that the problem has already been fixed. It should be solved in the next software version. You may want to check for a software upgrade.


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