Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > C# and C > C# 2005 > C# 2005
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
C# 2005 For discussion of Visual C# 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# 2005 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old January 25th, 2006, 10:46 AM
Registered User
Join Date: Jan 2006
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default tiff compression

How do I specify which compression I want to use for saving images? My code so far is:

//System.Drawing.Image img = some code for creating image object
img.Save(path, System.Drawing.Imaging.ImageFormat.Tiff);

The problem is that when I save the image object like this, it doesn't show in some piture editors.... The file opens, but the error is: Decompression library not available.

How do I solve this? And, yes, I HAVE TO save files in tiff format, and I cannot use jpeg or gif formats.

  #2 (permalink)  
Old December 4th, 2013, 02:42 AM
Registered User
Points: 15, Level: 1
Points: 15, Level: 1 Points: 15, Level: 1 Points: 15, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Aug 2013
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts

Hi, sandrina.
Sorry for the late reply. Have you found your way out? I have ever tried to
compress Tiff images with the help of following code:
Yiigo.Imaging Image = new Yiigo.Imaging();
TiffEncoder = TiffEncoder.Group3Encoding;
Image.TiffEncoder(@"C:\1.tif", "C:\2.tif", TiffEncoder TiffEncoder.Group3Encoding);
Or you can also google it and select a fine imaging SDK whose way of processing is simple and fast to help you with the related work. Remember to check its free trial package first if possible. I hope you success. Good luck.

Best regards,

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Compression changes on single tiff image hutchison1 Pro Visual Basic 2005 0 May 11th, 2007 03:28 PM
Compression on TIFF files hutchison1 VB How-To 0 May 11th, 2007 02:51 PM
Change TIFF Compression type from JPEG to Group 4 thazanur@yahoo.co.in C# 0 March 7th, 2007 07:36 AM
Image Compression 4wrh VB How-To 5 May 24th, 2005 05:39 PM
compression jaya_malini Java GUI 0 May 5th, 2005 10:01 AM

All times are GMT -4. The time now is 12:01 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.