image_processing
image_processing copied to clipboard
use rot command where possible
The similarity command leaves a line on the side of 90/180/270 rotations. This PR uses the rot command where possible.
resolves #104
@janko fwiw we've currently got a bunch of environments where we have trouble installing vips (though we use it in prod) and so we have to have conditional code that uses the built in rotate in image_magick envs and crafts a custom rot(90|180|270) command when we have vips. Would be great to be able to remove those workarounds.
I appreciate the PR, and sorry for the delay 😅 Looks good, I will try to make a release soon 👍🏻