[Poppler-bugs] [Bug 25268] image scaling is ugly / not antialiased in Evince 2.28

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Dec 13 06:56:26 PST 2009


http://bugs.freedesktop.org/show_bug.cgi?id=25268





--- Comment #10 from Jean-François Fortin Tam <nekohayo at gmail.com>  2009-12-13 06:56:26 PST ---
Well, we can't expect all of the PDF-producing apps on the planet to fix
themselves. Evince should be liberal about the documents it accepts, or have
very good interpolation.

I would also argue that interpolation is what 9 users out of 10 want. Evince is
a viewer, not an editor. GIMP can afford pixel-perfectness.

According to my calculations, the original image in bug #9860 must have had a
resolution of 30x30 pixels or something like that. This allows us a simple
workaround then. Such low resolution images must be scaled dozens of times to
be displayed full-width on the screen. Thus, why not deactivate interpolation
only when the stretching is over 400% or 800% ? GIMP takes this approach for
zooming: interpolation for moderate levels of zooming, but no interpolation for
high zoom levels.

For what it's worth, to actually display the 30x30 image "as big as I saw it in
the PDF", I had to scale it to *2300%* in GIMP!

I suck at math, but I'm thinking there has to be way, based on zoom levels or
image size or whatnot, to corner both scenarios. Currently, you're impairing
all the users who don't work with pixel art/tiny non-vectorial graphs (which,
I'd venture a guess, is the vast majority).


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Poppler-bugs mailing list