Auto Enhance AppleScript 100% quality export

Talk about Pixelmator Pro, share tips & tricks, tutorials, and other resources.
User avatar

2020-08-24 23:48:30

When using the Auto Enhance Automator action, an image quality setting of 85% is used, which is generally the default across macOS and iOS.
Of course, this is lossy compression, so we do lose some image quality and we don't when exporting at 100% quality from Pixelmator Pro.
With the upcoming AppleScript support we will be able to export to 100% by using a Script.
Could @Andrius or someone from the awesome team please share to us one script to do this as example for the non familiar with scripting?
Thanks in advance.
User avatar

2020-08-25 10:16:58

Hey Leopold, sure, I'd be happy to! Here's a link to download the example script:

http://upload-cdn.pixelmator.com/Pixelm ... -HEIC.scpt

Image

This particular script prompts you for the files to process and the export location each time and exports the files, adding "-enhanced" to the end of the file name. If there are any things about the script you'd like to customize, feel free to try it yourself and, if you bump into any issues, don't hesitate to ask me for help!
User avatar

2020-09-12 23:51:11

Hi, Andrius!

Could you please show an example for the tasks below using a HEIC picture from iPhone?

1) Resize the image to 1080 x 1080px using the "AM Super Resolution". I think the method used by Automator is "Bilinear";

2) Apply Effects to Image (I am using it to insert a watermark);

3) "Export to the web" in the JPG format and with 80% quality. I mean the same feature inside the Pixelmator Pro: it removes the metadata, for example, geographic coordinates.

The steps 1 and 2 I could do them using automator. Maybe the #1 was not "AM Super Resolution".

The step #3 I was unable to do.

Thank you.

Alexandre.