magickSetImageCompression method

bool magickSetImageCompression(
  1. CompressionType compression
)

MagickSetImageCompression() sets the image compression.

  • compression: the image compression type.

Implementation

bool magickSetImageCompression(CompressionType compression) =>
    _magickWandBindings.MagickSetImageCompression(
      _wandPtr,
      compression.index,
    ).toBool();