Image loading could be faster by reading and decoding blocks of the image at a time.
see image_codec.cpp