Improved PKM/ETC2 image loader.