Presently if you open up the Compress Image dialog, it always defaults to JPEG Quality compression, but it should be smarter and default to PNG Compression if the image's format is a lossless format like png and gif.