How to use -stereo inside a convert command (instead of composite) ?

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
Alexvb6
Posts: 49
Joined: 2012-10-12T16:50:15-07:00
Authentication code: 67789

How to use -stereo inside a convert command (instead of composite) ?

Post by Alexvb6 »

Hi,

I am using this composite command to create a stereo image :

Code: Select all

composite -stereo +15 SOURCE.JPG SOURCE.JPG -composite DEST.JPG
I'm searching for a way to use it inside a convert command (because I need to convert the colorspace, then the output format), and I would like to avoid having two separate commands.
So far, I've tested the following command-lines, without any success :

Code: Select all

convert SOURCE.JPG -write mpr:SrcImage +delete mpr:SrcImage mpr:SrcImage -composite -stereo +15 DEST.JPG
convert SOURCE.JPG -write mpr:SrcImage +delete mpr:SrcImage mpr:SrcImage -compose -define compose:args=stereo,+15 -composite DEST.JPG
Is that possible ?
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: How to use -stereo inside a convert command (instead of composite) ?

Post by fmw42 »

Post Reply