Page 1 of 1

I cannot change colorspace after distort

Posted: 2011-07-10T00:51:27-07:00
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?

Re: I cannot change colorspace after distort

Posted: 2011-07-10T11:21:36-07:00
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