LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-16-2007, 04:02 AM   #1
aeshj
LQ Newbie
 
Registered: Oct 2007
Posts: 1

Rep: Reputation: 0
error converting jpeg to ai file


hi

i've googled my ass of trying to find a solution. can't find anything usefull

help

$ convert image1.jpeg image2.ai
convert: unable to open module file `/usr/lib/ImageMagick-6.2.4/modules-Q16/coders/ai.la': No such file or directory.



thx
 
Old 10-16-2007, 06:04 AM   #2
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
ImageMagick doesn't list .ai as a supported format, so it's not surprising that convert doesn't work. That same error line comes up whenever you enter any unsupported format, even made up ones, with the last bit always showing xxx.la (xxx being whatever the extension is).

According to Wikipedia, .ai is a vector graphics format. I don't know much about vector graphics. Is it even possible to translate a simple bitmapped image into one? Perhaps you'll have more luck if you use a program that specializes in VG, like karbon or scribus? The description for xaralx says it can handle the adobe illustrator format, for example.
 
Old 10-16-2007, 06:11 AM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
I second the motion: I know of no way to convert raster images to vector graphics---nor can I imagine how it would make any sense.

aeshj;
Tell us more about the overall problem you are trying to solve.
 
Old 10-16-2007, 10:28 AM   #4
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
"Raster graphics". Thank you pixellany, that's the term I was trying to recall.

Searching a bit more, Wikipedia has a page about converting raster to vector, so it can be done. It even has an example image that was converted with inkscape, a program that's available on Linux. I don't know if inkscape can handle .ai files or not, but if it can do vectorization, I imagine most of the other VG programs can do it as well.

But also notice the warning:
Quote:
Vectorising a photograph will likely change its appearance from "photographic" to "painted" or "drawn"; the photograph may even be transformed into a silhouette.
So vectorizing doesn't guarantee a perfect copy.

Edit: And here's a page detailing which programs include a raster to vector function:
List of raster to vector conversion software

Edit two: It looks like all the Linux solutions use either autotrace or potrace to do the actual conversion, so those are probably your only options on this platform. The apt-cache description for autotrace says that it started out as a gimp plugin, so you shouldn't even need a VG program to get it into a vectorized form. But you may need one anyway if you want to convert from a free format like .svg to the proprietary adobe .ai form.

Last edited by David the H.; 10-16-2007 at 10:46 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
converting tiff to jpeg freebies Linux - Software 8 06-26-2013 10:17 PM
Problem converting jpeg into eps format ruchirsaraswat Linux - Software 2 09-06-2007 05:48 PM
batch-converting PS or PDF to Jpeg, cropping mechagojira Linux - Software 1 08-21-2007 10:33 AM
Converting HTML Webpages to PDF or JPEG with konqueror mrkirkland Linux - Software 2 01-31-2006 10:16 AM
converting .bmp to .jpeg wincrk Programming 5 03-04-2003 08:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration