Closed Meakeel closed 7 years ago
Good find! This code can never have worked properly with portrait ratio images and it's amazing that this typo gone unnoticed for so long. Thanks for reporting! Will fix this as soon as possible. A related project using this library to handle images on websites is close to first release, and it's really great to be able to remove this bug as watermarking will be one of the features. Thanks!
Version 3.0.2 released contain this fix: https://www.nuget.org/packages/ImageLibrary/3.0.2
So I'm mostly confused more than anything as to how this has been working in the past
Both the rows and the columns are using the width of the image to see how many rows and columns there should be.
I've changed rows to be Height on my local copy and its working perfectly now.
Kaliko.ImageLibrary.KalikoImage Line 629 onwards