In reply to Jesse Friedman.

Thanks @Jesse.

So I can't actually check the source or the headers to see the change, can I? I tried with several images and they're still JPEGs. Using latest version of everything and PHP 5.6.13.