![]() |
VOOZH | about |
The image-rendering property is used to set the type of algorithm used for image scaling. This property can be used to modify the scaling behavior when the user scales the image above or below the original dimensions.
Syntax:
shape-rendering: auto | crisp-edges | pixelated | initial | inherit
Property Values:
Example: In this example, we use image-rendering: auto property.
Output: Comparing the crisp-edges value with the auto value
Example: In this example, we are using image-rendering: crisp-edge property.
Output: Comparing the auto value with the crisp-edges value
Example: In this example, we are using image-rendering: pixelated property.
Output: Comparing the crisp-edges value with the pixelated value
Example: In this example, we are using image-rendering: initial prope
Output: Comparing the crisp-edges value with the initial value
Supported Browsers: The browsers supported by image-rendering property are listed below: