MyEncoderParameters.Param = myImageCodecInfo, myEncoderParameters) MyEncoderParameter = new EncoderParameter(myEncoder,(long)EncoderValue.CompressionCCITT4) MyEncoderParameters = new EncoderParameters(1) MyImageCodecInfo = GetEncoderInfo("image/tiff") MyBitmap = new Get an ImageCodecInfo object that represents the TIFF codec. Create a Bitmap object based on a BMP file. The below code IS working, but I now need to have more than 1 parameter in the encoder. I am using code off of MSDN that I have modified. I have a tiff file that works, this is the details of it: Verify the data integrity of the input data The error is complaining about "unrecognized tiff tags." the first two are 317 & 531Īlso: "For error codes X'8F0E' and X'8F0F', a bit pattern was detected that does not conform to the rules of the decompression algorithm. I am converting them but then it is complaining that I am trying to send images to a AS-400 and it only accepts TIFF images.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |