I have my WordPress Media settings set like so. Based on these settings no generated large image should exceed the width of 540px. I embed an image in a post like so. I choose "Large" as a image ...
I cant see any settings and cant see much in the php api docs regarding this? for instance if the original file upload is a png wordpress converts to jpg