Unfortunately, there is a bug in the iOS System that does not allow this to output correctly in the current version of Shortcuts. As a result this Shortcut will currently fail to function properly.

PhotoCompressor

Created as a request on Reddit

Simplify Your Photo Workflow

Have a photo but want to change the format or compress it? Now you can easily in just a few taps.

Select a photo Select your output format Select how compressed you want your image to be Select whether or not you want to keep or remove metadata PhotoCompressor then saves your photo to your All Photos album and brings up the Share Menu.

Keywords: Photos, Photo, Compress, Metadata, Removal, size, resize, file type, jpg, png, bmp, jpeg, tiff, GIF, pdf, heifer, image, images.