enter image description here

Download this picture and see it as a thumbnail, like in whatsapp or your phone gallery and you'll find that it shows another picture in the thumbnail.

If you can't see the thumbnail: You can simply do some changes in color, or do some filters on it using PicsArt and you'll notice the difference. I've searched the whole internet, but haven't got the answer yet. Please explain how is this happening.

Note: I know about the trick with PNG files, but this is a JPEG file and the trick works with this too. I added video a to elaborate.

  • $\begingroup$ It doesn't show a different thumbnail for me when downloaded. $\endgroup$ – user1118321 Feb 17 '17 at 5:48
  • 1
    $\begingroup$ Probably this feature got lost when imgur reapplied compression. Some formats embed a separate thumbnail, if they do then nothing stops the thumbnail from being a different picture. $\endgroup$ – joojaa Feb 17 '17 at 6:03
  • $\begingroup$ also possibly its same as thume.ca/projects/2012/11/14/magic-png-files $\endgroup$ – joojaa Feb 17 '17 at 6:10

You can't see it in the image you uploaded because it's a JPEG, but PNG files which have a full alpha channel can do the trick you mentioned. It works with websites or apps where the "thumbnail" image is displayed on a white background and the "full" image is displayed on a black background. In the thumbnail display, white pixels and completely transparent pixels look the same, because of the white background; in the full image, black pixels and completely transparent pixels look the same.

Thus, you can have a white-on-black picture and a black-on-white picture in the same image, and the background hides one of the two images. You can easily see what's going on if you look at the image against a background of some other colour.

| improve this answer | |
  • $\begingroup$ Actually I read that it is possible with PNG files, but the thing which amused me and brought me here is that, how this trick is applied to JPEG format. $\endgroup$ – Adesh Tamrakar Feb 18 '17 at 14:43
  • 1
    $\begingroup$ @AdeshTamrakar Transparency is supported in JPEG 2000 format. $\endgroup$ – Nathan Reed Feb 20 '17 at 16:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.