image-rendering:pixelated support

Bug #1637276 reported by Erik Demaine
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Confirmed
Wishlist
Unassigned

Bug Description

Inkscape currently supports SVG's style="image-rendering:optimizeSpeed" to specify that an <image> element should be preserved as pixel art when scaling up. This is great!

Sadly, Chrome does not support style="image-rendering:optimizeSpeed". On the other hand, Chrome does support style="image-rendering:pixelated". See the full compatibility chart here: https://developer.mozilla.org/en-US/docs/Web/CSS/image-rendering

I know it's not (yet) part of the SVG spec, but would it be possible to add "pixelated" as an alias to "optimizeSpeed" in the SVG parser? This would allow one SVG file to render correctly in both Chrome and Inkscape.

Tags: bitmap svg
su_v (suv-lp)
tags: added: bitmap svg
Revision history for this message
jazzynico (jazzynico) wrote :
Changed in inkscape:
importance: Undecided → Wishlist
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.