Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
jontro
· 8y ago · 0 comments
Just run the algorithm twice?
Comments
[–]
ianjsikes
8y ago
Better yet, scale the image proportionally down to the largest of the two target sides, then run the algorithm once in the direction that needs to shrink.