There is a bug pertaining to images with more than one crop tag in them. Consider the code
Code: Select all
<?xml version="1.0"?>
<group>
<image>
<read filename="horsefly.jpg" />
<crop geometry="250x250"/>
<rotate degrees="90"/>
<crop geometry="100x100"/>
</image>
<write filename="msl_test.png"></write>
</group>
The convert command's crop function works as expected, returning the asked for crop with the correct dimensions always. I have not investigated the msl source code to determine what is causing this bug.