Help:Image: Difference between revisions

Tags: Mobile edit Mobile web edit
Tags: Mobile edit Mobile web edit
Line 43: Line 43:
All images from [https://en.wikipedia.org/wiki/Sprite_(computer_graphics) sprite]-based games must use the <code>sprite</code> class:
All images from [https://en.wikipedia.org/wiki/Sprite_(computer_graphics) sprite]-based games must use the <code>sprite</code> class:


<pre>[[Image:Image from Rayman 1.png|center|320px|class=sprite|Caption]]</pre>
<pre>[[File:Image from Rayman 1.png|center|320px|class=sprite|Caption]]</pre>


This special class allows such images to appear neat and close to the original rendering on devices using several physical pixels per virtual pixel. Without it, a smooth resizing algorithm would be used, and those images would look blurry.
This special class allows such images to appear neat and close to the original rendering on devices using several physical pixels per virtual pixel. Without it, a smooth resizing algorithm would be used, and those images would look blurry.