16

This morning on twitter there was a tweet with the text "click on this picture". When picture is clicked, it's opened in wider viewer, but looks completely different.

I tried to analyze this picture in ACDSee, and I also tried uploading on Facebook, but it's happening only when embedded on twitter. I don't have much knowledge about graphics so please explain this to me. Why does this PNG image change only when clicked on Twitter?

Screenshots (left = before clicking; right = after clicking):

Before clicking After clicking

Here's the original picture.

2
  • Try dragging the guy in front of the stars, most browsers will then show you that this is a transparent png by rendering it with a gray/white background while dragging
    – PlasmaHH
    Commented Aug 8, 2014 at 10:36
  • 1
    See also this answer to another question, where I describe how pictures like this work and how to create them. Commented Aug 8, 2014 at 13:44

1 Answer 1

25

The picture doesn't change. The background color of the page does.

It's a transparent PNG. The whites are not visible on a white background. The blacks aren't visible on black background.

The normal post is on white. The modal view is on black.

If you change the background color...

Black White

1
  • 1
    Also if you use another background colour, such as dark grey, you can see both images at once.
    – deltab
    Commented Aug 8, 2014 at 14:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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