Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe Illustrator Script – eps to png – delete objects outside artboard AND crop to artwork

  • Script – eps to png – delete objects outside artboard AND crop to artwork

    Posted by Giacomo Bompan on September 17, 2012 at 8:53 pm

    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.

    Giacomo Bompan replied 13 years, 8 months ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy