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?
I cannot change colorspace after distort
-
- Posts: 12
- Joined: 2011-07-03T04:02:30-07:00
- Authentication code: 8675308
- 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 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
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