Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Selecting Photoshop layers in ImageMagick
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
mikb
Tux's lil' helper
Tux's lil' helper


Joined: 14 Dec 2005
Posts: 120
Location: Sydney Australia

PostPosted: Wed Nov 02, 2011 2:49 am    Post subject: Selecting Photoshop layers in ImageMagick Reply with quote

I need to manipulate a layered photoshop document, neither the GIMP, nor Krita give me the same results as Gwenview!

What I want to do is select about 15 layers out of the 53 in the psd, and flatten them to a single image.

When I try and select a layer, using the
Code:
stupid_graphic_designer.psd[0]

syntax
ImageMagick tells me the image can't be found.

I'd rather not have to find a Windows PC with Photoshop!
_________________
With sufficient thrust, pigs fly just fine (RFC 1925, apparently talking about Gentoo)
Back to top
View user's profile Send private message
avx
Advocate
Advocate


Joined: 21 Jun 2004
Posts: 2152

PostPosted: Wed Nov 02, 2011 8:49 am    Post subject: Reply with quote

Have you tried using
Code:
"name[X]"
instead of
Code:
name[x]
- maybe your shell is interpreting something before passing on to imagemagick?
_________________
++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.
Back to top
View user's profile Send private message
mikb
Tux's lil' helper
Tux's lil' helper


Joined: 14 Dec 2005
Posts: 120
Location: Sydney Australia

PostPosted: Wed Nov 02, 2011 10:15 am    Post subject: Reply with quote

I tried wrapping the reference in single quotes, thus
Code:
'name[x]'


But it didn't help.

This is what happens:
Code:

$ convert 'psd:name.psd[17]' -flatten mockup.jpg
convert: unable to open image `name.psd[17]': No such file or directory @ error/blob.c/OpenBlob/2589.
convert: missing an image filename `mockup.jpg' @ error/convert.c/ConvertImageCommand/3016.

_________________
With sufficient thrust, pigs fly just fine (RFC 1925, apparently talking about Gentoo)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum