469,582 Members | 2,483 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,582 developers. It's quick & easy.

problems with GDI+ and tiff images

I am using GDI+ to load a tiff image and write a string to it and save the
tiff image to another file.

I can save the image with only LZW Compression and not abel to save with
CCITT4 compression. If I use CCITT4 compression I get an invalid paramter
error when saving file.

The file saved with LZW compression has different resolution and tags then
the orignal image. Is there a way to save the image with the same tags as
the orignal image.

Thanks,
-Asfar
Mar 29 '06 #1
2 2431
Asfar wrote:
I can save the image with only LZW Compression and not abel to save with
CCITT4 compression. If I use CCITT4 compression I get an invalid paramter
error when saving file.


Are you sure your images are 1-bit B&W? CCITT Group 4 is for images
where each pixel is represented by 1 bit only.

Tom
Mar 29 '06 #2
My orignal image is 1bit B&W. When I create a bitmap object its not 1bit
B&W. So I guess i need to make sure that the new image is 1bit B&W.

-Asfar

"Tamas Demjen" <td*****@yahoo.com> wrote in message
news:OM**************@TK2MSFTNGP12.phx.gbl...
Asfar wrote:
I can save the image with only LZW Compression and not abel to save with
CCITT4 compression. If I use CCITT4 compression I get an invalid paramter
error when saving file.


Are you sure your images are 1-bit B&W? CCITT Group 4 is for images where
each pixel is represented by 1 bit only.

Tom

Mar 29 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Phil Powell | last post: by
1 post views Thread by Prasad More | last post: by
7 posts views Thread by Philip Wagenaar | last post: by
17 posts views Thread by Sharon | last post: by
reply views Thread by suresh191 | last post: by
4 posts views Thread by guiromero | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.