Since installing Ubuntu 14.04 (not sure if the problem was in older versions) I noticed that GNOME Image Viewer opens images in a window which is 2 pixels shorter than it needs to be to show the image properly without resampling - pixel to pixel. To fit the image the Image Viewer resamples and resizes it down. The result is very annoying on screenshots because there I see blurred text which is caused by the image worthless downsampling.


Note: To see the demonstration images properly there must not be any resizing at your side - in browser (e.g. in Firefox press Ctrl+0) on your whole desktop etc.

I have created a testing pixel checkerboard pattern with fields 1×1 pixel. The testing image size is 600×400 pixels. Below you see the image opened in Image Viewer. Notice the artefacts caused by downsampling by two pixels and the thin black borders on the sides.
default view

$ xwininfo 
xwininfo: Window id: 0x4e00007 "checkerboard-1x1px_600x400.png"
  Width: 600
  Height: 467
  Corners:  +49+112  -4151+112  -4151-1041  +49-1041
  -geometry 600x467+39+74


After resizing the window vertically to add two pixels you see that the image is displayed correctly pixel to pixel without any resizing artefacts or black borders on the sides.
after resizing

$ xwininfo 
xwininfo: Window id: 0x4e00007 "checkerboard-1x1px_600x400.png"
  Width: 600
  Height: 469
  Corners:  +49+112  -4151+112  -4151-1039  +49-1039
  -geometry 600x469+39+74

Another (easier) workaround is to use the View > Normal Size function (Ctrl+0) but unfortunately the window will not resize and the two vertical and some horizontal pixels (covered by the scrollbar) at the border of the image will be cut off.
after applying normal sizeenter code here


Could there be something in my configuration causing this problem? Is this bug known and reported? I have not found it. Are there any other solutions for the problem?

The testing image is here.

  • +1 At least the question is thorough and clear! – Jacob Vlijm Nov 27 '14 at 19:08

That's a know bug in eog (= Eye Of Gnome, = Gnome Image Viewer)

Look at the Launchpad bug tracker and subscribe to the bug tracking list and add your excellent description.

  • 1
    Thank you! --- I totally forgot about the second name of the application. I am tired of that. In the about pop-up I see: "The GNOME image viewer", no mention of "Eye of GNOME". --- I have found other bug reports of the same problem (or a problem with the same symptoms). I will add more information later. --- It is not considered to be a good habit to ask for accepting an answer. I normally accept answers few days later and you can see that I accept answers. :) – pabouk Nov 29 '14 at 12:47

I always use a workaround for that by pressing Ctrl+Num+ after opening Image.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.