Deathamns / Viewhance

Enhancements for the browser's default media viewer
https://deathamns.github.io/Viewhance/
Other
99 stars 23 forks source link

Suggestion: Nearest Neighbor Scaling #60

Closed walllable closed 5 years ago

walllable commented 5 years ago

Would it be possible to add an option for scaling to use nearest neighbor instead of whatever filtering is currently implemented? The current scaling can make zoomed-in pixel art rather blurry. image

Deathamns commented 5 years ago

You already have that. On demand with the shortcut P, or permanently via Custom CSS: .img #media { image-rendering: string }, where string for Firefox is crisp-edges and for Chrome is pixelated.