79216845

Date: 2024-11-22 23:40:51
Score: 1
Natty:
Report link

The best way is to loop over all pixels and create a diff image. In your loop you subtract the lower color value from the higher. That means black if the pixels are identical. So you should use 255 - pixelcolor and let it be the pixel value in the diff vector and when you are done, you save it as a png. I just made such a program in c++ and i used the windows imaging component to create raw byte vectors for both files and then looped over every pixel and every color to create a raw byte array with values. It reveals how jpegmini works but you have to multiply the close to zero values that you get. Quite revealing

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Fredrik Wahlgren