Prev
MagickWand For PHP
Manual


Next

MagickSetImageCompression

MagickSetImageCompression -- sets the image compression of the current active image

Description

bool MagickSetImageCompression( MagickWand mgck_wnd, int compression_type )

Sets the image compression of the current active image. Returns TRUE on success, FALSE, if an error occurred. compression_type must be a CompressionType constant, one of the following: MW_NoCompression MW_BZipCompression MW_FaxCompression MW_Group4Compression MW_JPEGCompression MW_LosslessJPEGCompression MW_LZWCompression MW_RLECompression MW_ZipCompression


A description of each parameter follows:

mgck_wnd A MagickWand resource
compression_type A CompressionType constant


Prev
MagickSetImageCompose
Up Next
MagickSetImageCompressionQuality