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 images

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
izaque Posted - Feb 24 2012 : 12:54:04
Hi, how can I compress color images as TIFF for example, that when I scan?
2   L A T E S T    R E P L I E S    (Newest First)
izaque Posted - Feb 27 2012 : 06:27:54
Ok, Thanks!
fab Posted - Feb 24 2012 : 14:08:30
Hi,
you have to specify a compression method using TIFF_Compression property.
For color images you can select ioTIFF_LZW, ioTIFF_JPEG and ioTIFF_PACKBITS (and other two non standard ways).
Example (a single page in TImageEnView):

ImageEnView.IO.Params.TIFF_Compression := ioTIFF_JPEG;
ImageEnView.IO.Params.SamplesPerPixel := 3;
ImageEnView.IO.Params.BitsPerSample := 8;
ImageEnView.IO.SaveToFile('output.tiff');