Optimize the load image interface.