go-cross-stitch
go-cross-stitch copied to clipboard
Add option to resize image
Sometimes images can take a long time to convert to a cross stitch guide. I don't want to implement a hard limit on image size, but would like to have the option to limit, say, the width, by pixels.
resizing algorithms: https://clouard.users.greyc.fr/Pantheon/experiments/rescaling/index-en.html#bilinear probably want to implement lanczos resizing https://en.wikipedia.org/wiki/Lanczos_resampling