TargetImageSizeCallback typedef
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
getTargetSizeargument.
Implementation
typedef TargetImageSizeCallback = TargetImageSize Function(int intrinsicWidth, int intrinsicHeight);