-
Script – eps to png – delete objects outside artboard AND crop to artwork
hello everyone,
I need to convert thousands (!) of .eps’s to .png’s and I have found a script that does the work well.
( it’s this one: https://forums.adobe.com/message/4052650 )
Problem is that all my .eps have a tag outside the artboard and when i run the following command:
pngExportOpts.artBoardClipping = true;
it cuts out the tag but it obviously keeps the whole artboard space with the file, while I want it to be cropped right around the artwork.
Question is:
Is there a simple command that sums to the previous one (inside the same script!) telling AI to crop to artwork after it got rid of all the stuff placed outside the artboard?
I hope I could explain myself.
Thank you very much in advance for reading 🙂
P.B.
Sorry, there were no replies found.