Improved speed of reading images.