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
 Compressing multi-page TIFFs

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
JonRobertson Posted - Sep 08 2011 : 10:44:46
Are all compression formats available for multi-page TIFFs?

Can ImageEn be used to convert a multi-page TIFF from one compression format to another compression format?

Thanks!
1   L A T E S T    R E P L I E S    (Newest First)
fab Posted - Sep 08 2011 : 11:35:27
ImageEn supports all standard TIFF compression formats, plus some non-standard like ZIP and Deflate.

Using TImageEnMView you can convert from a format to another (G4FAX in this case) writing:
ImageEnMView1.MIO.LoadFromFile('input.tiff');
ImageEnMView1.MIO.Params[0].TIFF_Compression := ioTIFF_G4FAX;
ImageEnMView1.MIO.Params[0].BitsPerSample := 1;
ImageEnMView1.MIO.Params[0].SamplesPerPixel := 1;
ImageEnMView1.MIO.DuplicateCompressionInfo();
ImageEnMView1.MIO.SaveToFile('output.tiff');

You can also use a TImageEnView (or a TImageEnIO + TIEBitmap) to process a page at the time, using SaveToFileTIFF for the first page and InsertToFileTIFF for the others.