TargetImageSizeCallback typedef
TargetImageSizeCallback =
TargetImageSize Function(int intrinsicWidth, int intrinsicHeight)
Signature for a callback that determines the size to which an image should be decoded given its intrinsic size.
See also:
- instantiateImageCodecWithSize, which used this signature for its
getTargetSize
argument.
Implementation
typedef TargetImageSizeCallback = TargetImageSize Function(
int intrinsicWidth, int intrinsicHeight);