@@ -1757,7 +1757,7 @@ Determining How To Scale an Image: the 'image-rendering' property {#the-image-re
17571757 that puts it closest to the target size
17581758 and is greater than zero.
17591759
1760- Scale it to this integer-multiple-size as for ''crisp-edges'' ,
1760+ Scale it to this integer-multiple-size using [=nearest neighbor=] ,
17611761 then scale it the rest of the way to the target size as for ''smooth'' .
17621762
17631763 Note: At integer multiples of the natural size,
@@ -1773,14 +1773,14 @@ Determining How To Scale an Image: the 'image-rendering' property {#the-image-re
17731773 The image is scaled in a way that preserves contrast and edges,
17741774 and which does not smooth colors or introduce blur to the image in the process.
17751775
1776- The image must be scaled with the " nearest neighbor" algorithm:
1776+ The image must be scaled with the <dfn> nearest neighbor</dfn> algorithm:
17771777 treating the original image's pixel grid as a literal grid of rectangles,
17781778 scale those to the desired size,
17791779 then each pixel of the final image
17801780 takes its color solely from the nearest pixel of the scaled original image.
17811781
17821782 Note: If the new size is not an integer multiple of the original size,
1783- the NN algorithm can introduce significant " aliasing" bugs;
1783+ the NN algorithm can introduce significant “ aliasing” bugs;
17841784 lines that were the same thickness in the original image
17851785 might be a pixel thinner or thicker in the scaled image
17861786 depending on where they appear,
0 commit comments