I highly doubt that is what's happening. More likely the server is serving a webp under a .png filename or something.
I have observed the behavior you suspect many times.