On Wed, 2013-04-03 at 10:54 +0200, Jasper van de Gronde wrote:
On 02-04-13 20:10, ~suv wrote:
On 2013-04-02 09:33 +0100, Jasper van de Gronde wrote:
On 31-03-13 15:24, Ivan Louette wrote:
Don't forget that pixellizing may be a very wanted feature when upscaling bitmaps or when upscaling filtered objects with FilterRes applied.
But as a default? If you really think it will be more common to want pixelized bitmaps than smooth bitmaps, I'll gladly switch back to the old behaviour. Just say the word.
This report was just filed today for current trunk:
- Bug #1163449 “Imported bitmap appear blurry when zoomed in” https://bugs.launchpad.net/inkscape/+bug/1163449
and describes a use case where it might be helpful to allow an option for non-smoothed bitmap images when zooming in (aka the old behavior).
Personally, I'd appreciate such an option too, since when rarely working with (down-scaled) photographic images in Inkscape drawings, the new smoothing of unscaled, pixel-grid-aligned bitmap images (e.g. clipped screenshots of GUI elements for mockups mixed with vector objects) when zooming in closer can be rather irritating and has other side effects too (e.g. reducing the precision of the paint bucket tool).
I've been discussing this with Ivan Louette as well, and I'll see if I can make it a (display) option. If someone has a /good/ suggestion for making it something that can be selected per-image, I'm all ears.
I've just had a quick look at how the web browsers and Batik handle bitmap scaling. When scaling up they all smooth the bitmaps. This seems to be what the SVG 1.1 spec requires. There is no provision for turning this off, the closest is to set the 'image-rendering' value to 'optimizeSpeed'.
It has been proposed in CSS to take the SVG 'image-rendering' property and add new values. Currently Firefox and Opera support the value 'crisp-edges'. See:
https://developer.mozilla.org/en-US/docs/CSS/image-rendering
It doesn't appear that anybody supports in inside SVG (only in HTML).
Tav