Skip to main content
Participant
September 27, 2006
Question

Convert AI to JPEG

  • September 27, 2006
  • 17 replies
  • 70178 views
Hi All,
We have a requirement to programatically convert AI files to JPEG files. (But not as a plug-in). Can this be done using the Adobe AI SDK? If so, could any one provide any pointers on how to do it? If not, what other ways are available for programatically converting AI to JPEG? Are there any other 3rd party SDK which can do this?

Thanks
CS
This topic has been closed for replies.

17 replies

November 30, 2015

The simplest way to change ai to jpeg is copy and paste. control V from ai file and control C to psd format file.

Toto RoToTO
Inspiring
September 2, 2015

This can be done using plugins, extensions or scripts. Adobe provides tools, documentation to develop any of this solutions.

Any other solution won't work or won't work as fine as those.

Participant
November 4, 2008
DONT SAVE, EXPORT. AND THEN YOU GET MORE SAVING CHOICES.
Participant
April 5, 2008
If you open the file up in AI and then save as for Web & Devices ( File>Save for Web & Devices) You can select GIF, JPEG OR PNG.
Participant
March 16, 2008
my AI document size is 150*200.
i want to convert folder of ai to jpg which size will be 3000*4000
anyone can help me in Adobe illustrator.
Participant
February 21, 2008
Hi CS,
Exactly, same problem, I got here, May be this discussion is older but useful for others.
I am using here ImageMagick and Ghostscript in command line with programming. I am able to convert AI file format to JPEG. But got error in some of AI files which has Post Script as format PS,Some of AI files with format PS/PDF are converted with no error, but some particular AI files are not.
I got this error while using Ghostscript,
Error: /undefined in Adobe_level2_AI5
I tried lots of option but always got this error for particular type of AI files.

Any helps!
Thank you.
October 16, 2012

I have the same problem, while some files works, other files don't works :/

Participating Frequently
September 5, 2007
The Illustrator Scripting API provides functions to export documents to swf, jpg, gif, png, psd and svg and you can script Illustrator in JavaScript, VBScript and AppleScript. These scripts can either be run from Illustrator File > Scripts > Other Script menu or from the file system, provided the correct context is set up in the script. There are several sample scripts provided in the Illustrator install folder to use as reference. Not sure this is feasible for your application but it is another option.
Participant
August 7, 2007
Hi Guys,

My requirement is also similar. i want to display the .ai images on the web. Is there any tool which gets internally converted? i went through an article

http://www.15seconds.com/issue/030630.htm

but i dont know whether it is possible using SVG.

Thanks
Shankar.N
Participant
August 6, 2007
Hi Guys,

I am looking for the same solution, with no luck so far.
I need to convert a pdf to jpg using classic asp/vb...

Other modules/team is dependant on this code, so I need to get this done asap.

Any luck with using Ghostscript in asp code?? I dont know how to use it in classic asp. Any pointers will be helpful.

Thanks,
Heena
Participant
July 13, 2007
Hi Jeff,
Thanks for your reply.

Some of our customer AI files are NOT saved with PDF compatability. And even if they are, the other PDF libraries do not see the contents outside the AI artboard. I have tried ImageMagick/Ghostscript and other PDF conversion utilities as a possible solution and it does not work:(

As for the programming language, I'm ok with c# .Net / Visual Basic.

Thanks
CS