News for hackers. Stuff that matters.
Re:Content-aware image resize library by jontro on Tuesday January 30, 2018 @08:10PM (#16270534)
Just run the algorithm twice?
Re:Content-aware image resize library by ianjsikes on Wednesday January 31, 2018 @12:59AM (#16271807)
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.