Are you able to make it so the image generator program doesn’t compress the images beforehand? I think avoiding format conversions and avoiding any alpha channel would be faster, maybe what you want as the end result can be approximated without it is possible without it.