Hi Everybody,
I have the following command line:
Code: Select all
convert \( some drawing, scaling, rotation and translation operations... \) output.png
The above command is the result of apply several image operations. The result of these operations is an arbitrary image and the (0, 0) point is not necessarily at the top left corner. I would like to extract an horizontal band and I tried this command:
Code: Select all
convert \( some pictures, drawing, scaling, rotation and translation operations... \) -extent 0x125 output.png
But the above command doesn't work properly because the 'extent' directive assumes that the (0, 0) point is at the top left corner (which is not always true). How could I extract an horizontal band of an arbitrary image with arbitrary geometry starting from the (0, 0) point?
Here's an illustration showing what I would like to do:
Thanks and sorry for my English
