Optionalsource: DeepPartial<BufferImageLoadOptions>CanvasColor color to use when converting images with alpha channel to images without alpha channel.
Default is WHITE
Color conversion to apply during image loading.
Default is ANY_COLOR
If the rect is not empty, the image will be cropped to this rect before processing.
Load mode.
Default is EAGER
Options for loading image from buffer.