Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / March 2006

Tip: Looking for answers? Try searching our database.

problems with GDI+ and tiff images

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Asfar - 29 Mar 2006 16:17 GMT
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
Tamas Demjen - 29 Mar 2006 18:57 GMT
> 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
Asfar - 29 Mar 2006 19:02 GMT
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

>> 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
[quoted text clipped - 4 lines]
>
> Tom

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.