ImageGear Professional DLL v18.1 for Windows
Internal Stream Bufferization
Send Feedback
ImageGear Professional v18.1 > User Guide > Using ImageGear > Loading and Saving Images > Internal Stream Bufferization

Glossary Item Box

ImageGear uses internal bufferization for image reading and writing. This reduces the number of system IO operations during reading and writing, and consequently improves image loading and saving performance, especially when the image is located on a remote computer.

Use the IO.BUFFER_SIZE control parameter to control the size of the reading buffer. The default value is 262144 bytes (256 KBytes). This size works well for most images, but you can use a smaller buffer for very small images or a larger buffer for large images. Setting the buffer size to 0 cancels bufferization on reading.

Some format filters, such as TIFF and JPEG, set the buffer size for reading pixel data automatically, according to the image raster size. However, they also use the common IO.BUFFER_SIZE setting for reading the image header.

Many formats set the buffer size automatically.

©2014. Accusoft Corporation. All Rights Reserved.