Created
June 19, 2012 17:25
-
-
Save pepebe/2955410 to your computer and use it in GitHub Desktop.
Ubuntu: Convert psd files with imagemagick
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Source: http://superuser.com/questions/360434/any-way-to-save-all-psd-layers-separately | |
Imagemagick will by default convert a psd to multiple images: | |
convert file.psd file.png | |
will result in file-0.png, file-1.png etc for each layer. If you wanted a single image, use the flatten switch: | |
convert file.psd -flatten file.png | |
Imagemagick is available on osx, windows and linux. And iOS somehow. |
convert file.psd[0] file.png
also works for me and fixes the colors issue.
Worked, thanks
convert file.psd[0] file.png can do best, but how can I using im4java like this?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Seems to do the trick but I get very stragen colors on some of the slices...