Specifies the type of compression used when writing the image.
Only some image formats support compression. For those that do,
only some compression types are supported. If you specify an
compression type that is not supported, the default compression
type (usually NoCompression) is used instead.
Specifies the type of compression used when writing the image. Only some image formats support compression. For those that do, only some compression types are supported. If you specify an compression type that is not supported, the default compression type (usually NoCompression) is used instead.