Optimization for sequential access of multilayered images

Discussions on GFL SDK, the graphic library for reading and writing graphic files

Moderators: helmut, XnTriq, xnview

Post Reply
Alucard

Optimization for sequential access of multilayered images

Post by Alucard »

Hi,

let's say I want to access a multilayered image (tif or psd), to read each page in it gfl sdk have to open the image, scan the header, seek to the right page and close the file.
I'm wondering if this affects heavily the performance of the function and in case if the author plans to add a function to read specifically this kind of images, that is the equivalent of gflFileAddPicture made for reading.

Thanks.
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Optimization for sequential access of multilayered image

Post by xnview »

Alucard wrote:Hi,

let's say I want to access a multilayered image (tif or psd), to read each page in it gfl sdk have to open the image, scan the header, seek to the right page and close the file.
I'm wondering if this affects heavily the performance of the function and in case if the author plans to add a function to read specifically this kind of images, that is the equivalent of gflFileAddPicture made for reading.
No, i don't think that open/read/close affects performance.
Pierre.
Post Reply