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:

Implementation

typedef TargetImageSizeCallback = TargetImageSize Function(
  int intrinsicWidth,
  int intrinsicHeight,
);