Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by joegibbs

17 hours ago

What if it just gets scaled down with nearest neighbour? Then the pixels would be forced on to a grid of a particular size. Maybe some kind of algorithm that compares the % difference to the full scale image to see what scale makes the most sense for it?

1 comment

joegibbs

Reply

Kiro  14 hours ago

Yes, that works for most of the images.

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities