0

I have images (png) that are 128x128 pixels, how do I convert the image so that each pixel in the image is closest in color to the ones in the following array? The array will probably get bigger with more specific colors, but in this case: [(0, 255, 100), (100, 100, 100), (255, 255, 255), (0, 0, 0), (156, 126, 210)]

Mark Setchell
  • 191,897
  • 31
  • 273
  • 432
Skezza
  • 21
  • 8

0 Answers0