Converting .ai file containing 100 artboards in it to 100 separate .eps files. Is it possible?

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
Taras Zhukovskyi
Posts: 4
Joined: 2018-05-10T01:07:46-07:00
Authentication code: 1152

Converting .ai file containing 100 artboards in it to 100 separate .eps files. Is it possible?

Post by Taras Zhukovskyi »

Hi,

I tried Imagemagic several days ago and must admit that this software is amazing! It helped me to finally get rid of Adobe Photosop since this program and free Krita allow to do everything I need. First allows to do almost everything with respect to batch processing, and second can be used for editing raster my raster images.

My question regards converting multiartboard .ai file to many .eps files. To put in other words, I need that each of, lets say, 100 artboards in one .ai file were converted and saved as separate 100 .eps files. Is it possible to do in IM?

Many thanks,

Taras

P.S. I'm using last version of IM (downloaded several days ago here) on Windows.
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Converting .ai file containing 100 artboards in it to 100 separate .eps files. Is it possible?

Post by snibgo »

An .eps file is encapsulated postscript. This can contain both vector and raster data. However, IM is a raster processor, and won't create vector data.

If you are happy with raster-only: I don't know what an artboard is, so my answer is "try it and see".

If you can create a small .ai with two or three artbords, less than about 1 MB, upload that somewhere and paste the URL here, we can experiment.
snibgo's IM pages: im.snibgo.com
Taras Zhukovskyi
Posts: 4
Joined: 2018-05-10T01:07:46-07:00
Authentication code: 1152

Re: Converting .ai file containing 100 artboards in it to 100 separate .eps files. Is it possible?

Post by Taras Zhukovskyi »

Actually, it does conversion from .ai to .eps. I have Ghostscript installed as well. Here is my .ai file with 100 artboards: https://www.dropbox.com/s/m5735xc5p97r5 ... nt.ai?dl=0

I already figured out how to do this task - the command is very simple:

Code: Select all

convert gradient.ai gradient.eps
It creates 100 eps files which correspond to artboards in the .ai files.

But another problem occured: it creates .eps where image goes far beyond the artboard. Here is one of the .eps files created: https://www.dropbox.com/s/bmybdwnefc50c ... 5.eps?dl=0

Problem is almost solved, but I still probably need to input some parameters into the command, so that .epses were saved proverly and didn't exceed the lenght of the artboard.
Post Reply