I cannot change colorspace after distort

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
dev.alex89
Posts: 12
Joined: 2011-07-03T04:02:30-07:00
Authentication code: 8675308

I cannot change colorspace after distort

Post by dev.alex89 »

I cannot change colorspace after distort
/usr/bin/convert [filein2] \( [filein] -scale 90x110^ -gravity center -extent 90x110 -gravity NorthWest -matte -virtual-pixel transparent -distort Perspective '0,0,24,0 0,110,1,83 90,0,80,20 90,110,50,108' -colorspace gray \) -background none -geometry +264+137 -compose Over -composite

-colorspace gray before or after but it does not work, and the image is not created
Why?
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: I cannot change colorspace after distort

Post by fmw42 »

post a link to your two input files, so we can test your command line.


did you try:

/usr/bin/convert [filein2] \( [filein] -colorspace gray -scale 90x110^ -gravity center -extent 90x110 -gravity NorthWest -matte -virtual-pixel transparent -distort Perspective '0,0,24,0 0,110,1,83 90,0,80,20 90,110,50,108' \) -background none -geometry +264+137 -compose Over -composite

what version of IM are you using and what platform -- always best to report that when you ask a question
Post Reply