HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by jontro | Hacker News Reader
Parent
Full thread
jontro
·
Just run the algorithm twice?
View on HN
ianjsikes
·
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.
Reply on news.ycombinator.com