I use webp for making images in visual novels smaller. The exact filename and extension must be unchanged for it to work. Otherwise, have to re-write the scripts with new extensions on sometimes thousands of images.

I totally understand if this was not what you intended this function to do, but would be very helpful to many people if it worked as stated. Thanks again for your time, and the great program you've made. Really appreciate it.