export newDoc to file ((exportLocation as text) & theFilename & ".png") as PNG
Thanks!We have some important news to share: the Pixelmator Team plans to join Apple. If you need product support please contact us here.
Learn moreApplescript export PNG in 256 colors
The Pixelmator Community has been archived and cannot accept new posts or comments.
2023-01-06 23:09:55
I'm trying to figure out how to export a PNG in applescript with the "use 256-color palette" option?
2023-01-07 11:10:55
Why not use GIF instead as it has a 256 color limit built in? Just asking.
2023-01-08 21:46:41
I could be wrong, but I don't think GIF supports transparency the same way as PNG. in GIF a pixels is either transparent or not, so anti-aliasing curves and edging don't look very nice on GIF compared to PNG. Mostly I just need PNG because that's the output customers want.