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
 Tif files - support for stripes / tiles

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
Harry Posted - Jul 20 2015 : 07:12:31
Hello all,

I have to handle massive *.tif files (>40 Gb).

Is it possible to load the tif file not completley in memory but to load only parts of it via the stripe or tiles function?

In this forum I found how to detect if a tif file has stripes/tiles support, but how to I load tile 1..n?

Best Regards,

Harald
1   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Jul 20 2015 : 17:06:52
Hi

Just set the TIFF_GetTile to return only a single tile:

http://www.imageen.com/help/TIOParamsVals.TIFF_GetTile.html


Example
// Load first tile of a TIFF
ImageEnView1.IO.Params.TIFF_GetTile := 1;
ImageEnView1.IO.SaveToFile('D:\BigBigTiff.tif');

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com