resizeImage property
Resize the image to the given values width and/or height before painting
This will reduce raster thread usage when using high-resolution images with a slight increase in memory
Animated images wouldn't resize
Implementation
final bool resizeImage;