ImageRendering enumeration

ImageRendering enumeration

Specifies how an image should be rendered in SVG.

The ImageRendering type exposes the following members:

Fields

FieldDescription
AUTOThe browser makes a trade-off between speed and quality when rendering the image.
OPTIMIZE_SPEEDThe browser emphasizes rendering speed over image quality. This often means scaling images in a way that might make them look pixelated or blocky.
OPTIMIZE_QUALITYThe browser emphasizes image quality over rendering speed. This can mean smoother, higher quality scaling of images but might result in slower rendering.

See Also