23

I am having problems with image quality when reducing images or zooming out in certain applications. It looks almost as if the image is not being smoothed or anti-aliased.

side by side same image in two apps

On the left is gthumb/eog (look the same) - on the right is gimp. Left one is clearly broken. It never used to be like that. Those are at 20% zoom.

Eye of Gnome (EoG) and GThumb both suffer from it when resizing to reduce, and when zooming out to reduce, but oddly Gthumb doesn't suffer when generating thumbnails. Shotwell and Gimp are unaffected. Libre Office is affected.

Given this, I wonder if anyone might know which component(s?)/issues are the cause? I'm on a 64-bit precise with NVidia 8800 GTX (nouveau).

EDIT: Additional information. If i use the tools dropdown button in the top toolbar of Gthumb, it reduces images size and retains full quality. If I instead click the paint palette at the top right to enter Edit Mode, and resize from in there, it loses quality. The "high quality" check box makes a difference but not significantly. The zoom also loses quality. I am wondering if perhaps it doesn't have 2 rendering modes and 1 is broken?

EDIT 05May2012: I have since discovered that

(a) The image quality for EoG and Gthumb suffered its regression in Oneiric (Maverick, Natty work fine).

(b) It is not limited to Ubuntu, it also affected Fedora 16.

So I'll take as an accepted answer anyone who can either fix that or advise me how to go bug reporting this. I don't really know which packages to apply it to, or whether it needs to go to Ubuntu or GNOME. Thanks!

5 Answers 5

14

This is bug 665897 in Gnome.

https://bugzilla.gnome.org/show_bug.cgi?id=665897

1
  • 5 years on seems to still be there...
    – Valentas
    Dec 10, 2017 at 19:57
7

I faced the same problem and I looked for an alternative. I installed an app called Mirage from the repos and set it as the default image viewer. Mirage offers two big advantadges over the default image viewer:

  1. Image scaling is properly done.
  2. It preloads the next image so viewing a set of images is much more pleasant without having to way on sec. every time you click "next image".

IMHO the way the default image viewer scales the images is a bug (and should be corrected in following updates). The second is a feature (a trick if you want) that should be implemented in the default image viewer because it's one of those things that make people say "this is way faster in Windows".

2
  • 1
    This is really helpful, however, while I can live without EoG, Gthumb is more of a problem since it's also an image management package and I use it for simple photo processing. Gthumb does however have the option to send to gimp (click photo and press g).
    – user60235
    May 5, 2012 at 14:44
  • 1
    Just re-commenting to again say thanks, and that I've updated the question.
    – user60235
    May 5, 2012 at 14:53
3

Open gThumb and go to Edit > Preferences and make sure that Smooth images is checked.

Image View tab in Preferences dialog

3
  • 4
    Have tried already, does not really make a difference. Have additional screenshot if you want to see, that shows the checkbox and the images together. However I have tried a Fedora liveCD and it too has the problem, so it's something in Gnome that has changed since the previous gnome I had. I will a maverick etc liveCD later to see which release had the regression.
    – user60235
    May 5, 2012 at 2:08
  • I am sorry it is not the fix.
    – desgua
    May 5, 2012 at 2:25
  • No need to apologise, you have done nothing wrong! I have updated the question, however.
    – user60235
    May 5, 2012 at 14:53
1

Ok, I had the same problem... Spent a long time trying to fix it. With gthumb doesn't seem to be a problem with system settings or a bug etc but rather that the Ubuntu official repositories do not carry an up to date version of gthumb. The latest versions have much better anti-aliasing. I tried lots of methods of getting a newer version of gthumb including downloading .deb files, building from source, using the PPAs on the gthumb website but none of them worked for me. For any novices like me here's what did.

First uninstall the old gthumb - from the terminal (Ctrl+Alt+T) run

sudo apt-get remove gthumb

Then I added the following repositories to the top of my /etc/apt/sources.list. They have to be on top because when you 'apt-get install gthumb' it will download from the first repository listed which contains a package called gthumb. If you put it beneath the official Ubuntu repositories you will just get old gthumb again.

So you have to run a text editor as root from the terminal to edit the file for example

gksudo gedit /etc/apt/sources.list

or because I'm running Xubuntu I did

gksudo mousepad /etc/apt/sources.list

Then add the following two lines to the top, save and close:

deb http://ppa.launchpad.net/dhor/myway/ubuntu saucy main 
deb-src http://ppa.launchpad.net/dhor/myway/ubuntu saucy main 

Then run

gpg --keyserver keyserver.ubuntu.com --recv-keys E2B7D64D93330B78 && gpg --export --armor | sudo apt-key add - && sudo apt-get update

in the terminal to get the key for the PPA.

Then you can run

sudo apt-get install gthumb

and it should install gthumb 3.2.4 with great anti-aliasing

1

Try Edit > Preferences > Viewer > Zoom Quality > High. That does the trick for me, but of course, it then takes several seconds to load most of my pictures, so it's a rather imperfect solution.

This option was apparently not available in earlier versions, although I'm not sure when it was added. I have gThumb 3.2.7.

1
  • FYI, this technique DOES improve the situation to "tolerable" levels for me (gThumb 3.0.1).
    – Digger
    Aug 17, 2018 at 16:38

You must log in to answer this question.