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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Tif files - support for stripes / tiles
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

Harry

3 Posts

Posted - Jul 20 2015 :  07:12:31  Show Profile  Reply
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

xequte

38510 Posts

Posted - Jul 20 2015 :  17:06:52  Show Profile  Reply
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
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: