You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a feature request to add support for bilinear interpolation for Image traces.
At the moment, the SVG <image> element sets a style element image-rendering: crisp-edges to produce nearest-neighbor interpolation. However, in some cases, linear interpolation is preferred, so it would be nice to support this.
My proposal is to:
Add a new property interpolate which defaults to false (nearest neighbor), and can be set ti true (for linear interpolation).
Based on the value of this property, set (or omit) the image-rendering style attribute here
Other suggestions for the public facing API are welcome.
The text was updated successfully, but these errors were encountered:
This is a feature request to add support for bilinear interpolation for Image traces.
At the moment, the SVG
<image>
element sets a style elementimage-rendering: crisp-edges
to produce nearest-neighbor interpolation. However, in some cases, linear interpolation is preferred, so it would be nice to support this.My proposal is to:
interpolate
which defaults to false (nearest neighbor), and can be set ti true (for linear interpolation).image-rendering
style attribute hereOther suggestions for the public facing API are welcome.
The text was updated successfully, but these errors were encountered: