ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Compress color tiff

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
AndNit Posted - Jul 20 2023 : 12:29:48
Hello,

What's the best way, the one to make the tif file as small as possible, without much loss, to compress a color image?

I'm using the following code:

ImageEnMView1.MIO.Params[b].TIFF_Compression := ioTIFF_JPEG;
ImageEnMView1.MIO.Params[b].JPEG_Quality := 50;

however, while this multpage tif file in black and white is 1.37 MB the same file, with the same amount of pages, is 15,840 MB when colored. I need to reduce the size of this file as much as possible

thanks
2   L A T E S T    R E P L I E S    (Newest First)
AndNit Posted - Jul 24 2023 : 08:57:05
excellent, made all the difference.

thanks
xequte Posted - Jul 20 2023 : 23:14:25
Hi

For full color images, ioTIFF_JPEG is likely to give the best compression, due to its lossy nature (naturally full color images will take up significantly more disk space than 2 color ones).

Note though, for TIFF compressed with ioTIFF_JPEG, you specify the quality with TIFF_JPEGQuality (not JPEG_Quality):

https://www.imageen.com/help/TIOParams.TIFF_JPEGQuality.html

Nigel
Xequte Software
www.imageen.com