ImageRendering Enum

ImageRendering enumeration

Specifies how an image should be rendered in SVG.

public enum ImageRendering

Values

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

See Also