LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-20-2006, 09:10 AM   #1
gabsik
Member
 
Registered: Dec 2005
Location: This planet
Distribution: Debian,Xubuntu
Posts: 567

Rep: Reputation: 30
convert psd to jpeg


I'm building up a site with joomla.I have some pictures in psd format (photoshop format) and i need to convert them in jpg or png.I have a debian sarge 3.1 and i have imagemagick but when i launch it:
Code:
gabrix@www:~$ imagemagick
-su: imagemagick: command not found
gabrix@www:~$ whereis imagemagick
imagemagick:
Strange!how do i launch imagemagick ?An alternative prog converting psd to png ?
Thanx!
 
Old 09-20-2006, 09:51 AM   #2
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
ImageMagick is not just one tool, it's a set of tools. Try using "mogrify" or "convert" for your conversions.
 
Old 09-20-2006, 11:08 AM   #3
gabsik
Member
 
Registered: Dec 2005
Location: This planet
Distribution: Debian,Xubuntu
Posts: 567

Original Poster
Rep: Reputation: 30
I have launched both "mogrify" and "convert" but none seems to be on my case ... any other clue ?
 
Old 09-20-2006, 11:15 AM   #4
theYinYeti
Senior Member
 
Registered: Jul 2004
Location: France
Distribution: Arch Linux
Posts: 1,897

Rep: Reputation: 66
For your information, The Gimp will do this kind of conversion just fine.

Yves.
 
Old 09-20-2006, 11:43 AM   #5
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
If you have too many PSD images to convert manually with The Gimp, it should be possible to write a little script-fu program to convert them as a batch process.

I did a similar thing for batch conversion of SVG to PNG for the Open Clipart Library project. You should be able to modify that pretty easily to make a batch converter for PSD to PNG.

Incidentally, for some reason I can't fathom, it seems to swamp the memory of my system when invoked on a very large number of images, even if it's only invoked on a limited number at a time. This is very odd. Does anyone know if libgimp has some memory usage problems which persist between invocations of Gimp?
 
Old 09-21-2006, 01:58 AM   #6
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
Quote:
I have launched both "mogrify" and "convert" but none seems to be on my case ... any other clue ?
What error do you get?
Maybe imagemagick's tools aren't in your $PATH?

Try doing "whereis mogrify" to find out.
In some cases, there is another tool that's also named "convert", so you may need to use the full path in order to get the right "convert" app to run. I forgot what the other convert did, but it sure wasn't related to image format conversion.
 
Old 09-22-2006, 07:16 AM   #7
gabsik
Member
 
Registered: Dec 2005
Location: This planet
Distribution: Debian,Xubuntu
Posts: 567

Original Poster
Rep: Reputation: 30
The psd files i have are cd covers and they are several pictures on layers.Using imagemagick convert i get them split back and i don't want this.I hope i'm clear !
 
Old 09-22-2006, 07:57 AM   #8
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
If you are trying to convert multi-layer PSD files into something like JPEG or PNG, there are various possibilities for how to do it:
  1. Split each layer into a separate output image
  2. Flatten the layers first & then export that simple image
  3. Something else (?)

TO be clear, which of the above do you wish to do?
 
Old 09-22-2006, 08:44 AM   #9
biago
LQ Newbie
 
Registered: Sep 2006
Posts: 3

Rep: Reputation: 0
why not try visiting amazon.com i believe they have a software that could help you to convert jpg to pdf and vice versa.
 
Old 09-22-2006, 08:47 AM   #10
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
Quote:
Originally Posted by biago
why not try visiting amazon.com i believe they have a software that could help you to convert jpg to pdf and vice versa.
Not PDF. PSD - photoshop.
 
Old 09-22-2006, 08:59 AM   #11
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
Doesn't ImageMagick's convert have options for that?
A quick look in the man pages gave me:
-average (average the psd layers in to one image)
-coalesce (image set merging)
-process (processing a set of images)
-adjoin (ie rejoin the split images)

Are any of these useful to you?
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
imagemagick or pcdtoppm script to convert pcd to jpeg? jst1 Linux - Software 1 02-01-2006 05:26 PM
PSD in gimp el_pajaro! Linux - Software 1 06-03-2005 05:03 PM
How can i convert .obj to jpeg format in Tgif?? realxixi Linux - Software 0 11-03-2004 10:34 PM
converting JPEG images to MPEG-2 video using <convert>? BeetleBailey Programming 3 06-11-2004 09:07 AM
file to convert from pictClipping extension to jpeg - macutils dumpthecore Linux - Newbie 0 11-12-2003 01:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07: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