Image Compression
I'm opening a tiff image that has citt group 4 compression, creating a bitmap to manipulate it and then saving the bitmap as a tiff again. The new tiff has LZ compression and I need to get it back to citt. I've since added this code to specify compression
Dim eps As EncoderParameters = New EncoderParameters(1)
eps.Param(0) = New EncoderParameter(System.Drawing.Imaging.Encoder.Qu ality, _
System.Drawing.Imaging.EncoderValue.CompressionCCI TT4)
image.Save(FileName, ici, eps)
It doesn't give me an error, but the compression is still LZ... I think I'm missing something fundamental.
|