LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   convert psd to jpeg (https://www.linuxquestions.org/questions/linux-software-2/convert-psd-to-jpeg-485296/)

gabsik 09-20-2006 09:10 AM

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!

timmeke 09-20-2006 09:51 AM

ImageMagick is not just one tool, it's a set of tools. Try using "mogrify" or "convert" for your conversions.

gabsik 09-20-2006 11:08 AM

I have launched both "mogrify" and "convert" but none seems to be on my case ... any other clue ?

theYinYeti 09-20-2006 11:15 AM

For your information, The Gimp will do this kind of conversion just fine.

Yves.

matthewg42 09-20-2006 11:43 AM

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?

timmeke 09-21-2006 01:58 AM

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.

gabsik 09-22-2006 07:16 AM

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 !

matthewg42 09-22-2006 07:57 AM

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?

biago 09-22-2006 08:44 AM

why not try visiting amazon.com i believe they have a software that could help you to convert jpg to pdf and vice versa.

matthewg42 09-22-2006 08:47 AM

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.

timmeke 09-22-2006 08:59 AM

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?


All times are GMT -5. The time now is 03:51 PM.