[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #62998] Hint SVG renderers to not interpolate
From: |
Pantxo Diribarne |
Subject: |
[Octave-bug-tracker] [bug #62998] Hint SVG renderers to not interpolate images |
Date: |
Mon, 5 Sep 2022 12:50:55 -0400 (EDT) |
Follow-up Comment #3, bug #62998 (project octave):
I think there are two independent approaches which are using the SVG image
element "image-rendering" property [1] or using its CSS replacement [2]. The
current specification for SVG still lists the old possible values for
"image-rendering" but says the following:
The CSS Image Values and Replacement Content Module Level 4 may in the future
redefine this property. In particular it should allow the choice between
smoothing and keeping a pixelated look when upscaling.
So AFAIU the first still does not supersede the second.
I'll push the patch with the SVG value ("optimzeSpeed") and hope that, as you
say, it is actually interpreted as "cripEdges" (what we want) in modern
viewers.
[1] https://www.w3.org/TR/SVG/painting.html#ImageRenderingProperty
[2] http://dev.w3.org/csswg/css-images/#the-image-rendering
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?62998>
_______________________________________________
Message posté via Savannah
https://savannah.gnu.org/