ImageBitmapOptions constructor
ImageBitmapOptions({
- ImageOrientation? imageOrientation,
- PremultiplyAlpha? premultiplyAlpha,
- ColorSpaceConversion? colorSpaceConversion,
- int? resizeWidth,
- int? resizeHeight,
- ResizeQuality? resizeQuality,
Implementation
factory ImageBitmapOptions(
{ImageOrientation? imageOrientation,
PremultiplyAlpha? premultiplyAlpha,
ColorSpaceConversion? colorSpaceConversion,
int? resizeWidth,
int? resizeHeight,
ResizeQuality? resizeQuality}) =>
ImageBitmapOptions._(
imageOrientation:
imageOrientation?.value ?? ImageOrientation.none.value,
premultiplyAlpha:
premultiplyAlpha?.value ?? PremultiplyAlpha.valueDefault.value,
colorSpaceConversion: colorSpaceConversion?.value ??
ColorSpaceConversion.valueDefault.value,
resizeWidth: resizeWidth ?? undefined,
resizeHeight: resizeHeight ?? undefined,
resizeQuality: resizeQuality?.value ?? ResizeQuality.low.value);