Missing an image filename

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
agriz
Posts: 237
Joined: 2011-10-01T02:21:30-07:00
Authentication code: 8675308

Missing an image filename

Post by agriz »

Code: Select all

/usr/bin/convert \( -size 670x548 \) \( 'temp/5225ffb8ef375YZ2JsoJQt3rQpMz.mpc' -rotate 180 \) -gravity NorthWest -composite \( 'temp/5225ffb8ef375YZ2JsoJQt3rQpMz.mpc[1x23+0+0]' -scale 624x23! -flip \) -gravity North -composite \( 'temp/5225ffb8ef375YZ2JsoJQt3rQpMz.mpc' -flip \) -gravity NorthEast -composite \( 'temp/5225ffb8ef375YZ2JsoJQt3rQpMz.mpc[23x1+0+0]' -scale 23x502! -flop \) -gravity West -composite \( 'temp/5225ffb8ef375YZ2JsoJQt3rQpMz.mpc[23x1+0+0]' -scale 23x502! \) -gravity East -composite \( 'temp/5225ffb8ef375YZ2JsoJQt3rQpMz.mpc' -flop \) -gravity SouthWest -composite \( 'temp/5225ffb8ef375YZ2JsoJQt3rQpMz.mpc[1x23+0+0]' -scale 624x23! \) -gravity South -composite \( 'temp/5225ffb8ef375YZ2JsoJQt3rQpMz.mpc' \) -gravity SouthEast -composite 'temp/1_5225ffb8ef463I6LfFrRtKmHQOCR.mpc
'Array ( [0] => convert: missing an image filename `temp/1_5225ffb8ef463I6LfFrRtKmHQOCR.mpc' @ convert.c/ConvertImageCommand/2800. )
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Missing an image filename

Post by snibgo »

If you run it from the command prompt, you might get a more helpful error message.

The "\( -size 670x548 \)" does nothing. Nor does the first "-gravity NorthWest -composite", becuase there is only one image so far. Perhaps you intended "xc:white" or something after the size, eg "\( -size 670x548 xc:white \)"
snibgo's IM pages: im.snibgo.com
agriz
Posts: 237
Joined: 2011-10-01T02:21:30-07:00
Authentication code: 8675308

Re: Missing an image filename

Post by agriz »

snibgo wrote:If you run it from the command prompt, you might get a more helpful error message.

The "\( -size 670x548 \)" does nothing. Nor does the first "-gravity NorthWest -composite", becuase there is only one image so far. Perhaps you intended "xc:white" or something after the size, eg "\( -size 670x548 xc:white \)"
Awesome.. Thanks a lot. A careless mistake!
Post Reply