Operate on just one image in an image list?
Posted: 2009-11-29T22:29:37-07:00
Hello
I want to use IM to separate an RGB image into three greyscale images, resize the channels independently and then recombine them. I'd like to do it in one command line if possible. Is it possible to select that the -resize operator only applies to a selected one of the images?
For example, using an imaginary operator "-select":
convert foo.jpg -separate -select 1 -resize 100x100 -select 2 -resize 150x150 -select 3 -resize 200x200 -combine foo2.jpg
thanks...
I want to use IM to separate an RGB image into three greyscale images, resize the channels independently and then recombine them. I'd like to do it in one command line if possible. Is it possible to select that the -resize operator only applies to a selected one of the images?
For example, using an imaginary operator "-select":
convert foo.jpg -separate -select 1 -resize 100x100 -select 2 -resize 150x150 -select 3 -resize 200x200 -combine foo2.jpg
thanks...