Resolves #11: Uploading images rasterizes rotation flag