471,338 Members | 937 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,338 software developers and data experts.

Saving a bitmap as a tiff

Hello all,

I am attempting to save a bitmap image and saving it as a tiff image with
CCITT4 compression using the folllowing code.
oEncoderParameters = New Imaging.EncoderParameters(1)
oEncoder = Imaging.Encoder.Compression
oParameter = New Imaging.EncoderParameter(oEncoder,

oEncoderParameters.Param(0) = oParameter
ocodecinfo = GetEncoderinfo("image/tiff")

bmpImage.Save(sFilePath, ocodecinfo, oEncoderParameters)

My Program creates the tif files but when I attempt to view it, using
Microsoft Image Writer or another tiff viewer, the programs tell me that the
tif file in question is an unsupported format.

Any Help is appreciated.
Thank you
Jul 22 '05 #1
0 1374

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Thaynann | last post: by
5 posts views Thread by Thaynann | last post: by
reply views Thread by news | last post: by
reply views Thread by E-Cube | last post: by
1 post views Thread by Smokey Grindel | last post: by
3 posts views Thread by Samuel | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.