imageProcess2 function

Image imageProcess2(
  1. DecodeParam param
)

Implementation

Image imageProcess2(DecodeParam param) {
  var image = decodeImage(param.bytes)!;

  if (param.flipY) {
    image = flipVertical(image);
  }

  return image;
}