This fix does will only work for the geometry attribute. Supplying attributes height, width, x and y will result in gravity being ignored.

If <crop> was implemented in this way (to ignore gravity) on purpose, it would be a good idea to implement a gravity attribute to work around this design.

If this can be adopted, that would be great. My project requires a <crop> with gravity support, if this is not implemented, I will not be able to use msl for this project. Project requirements dictate that we can not use modified source code.

Thank you!

I will be toying with msl.c to try to get gravity to work with height, width, x and y. If I come up with a good solution, I will post it here.