replace compress algorithm
now compressed image are exactly same size as we provided.
try to get exif, like datetime, but failed, use a plan B, File.lastModified