How can I transform two identical Images with a different background color into one without any background color?

Like this:

Source Images


enter image description here

  • In GIMP you can subtract the images and use result as a mask. – Count Iblis Nov 14 '15 at 17:54
  • But then I'll get no transparency – iBent Nov 14 '15 at 17:58
  • 4
    I'm voting to close this question as off-topic because it is about using graphics editing software in a non-photographic context. – Please Read My Profile Nov 14 '15 at 19:01
  • 1
    It can be used as an advanced chromakeying technique which exceeds a static chromakey quality and is usable in object photography. – George Polevoy Nov 14 '15 at 19:26
  • Whilst the specific question is about a graphic image as opposed to a photograph, the principle is still useful to photo editing so closing it as off topic is unfortunate IMHO. – wwkudu Dec 12 '15 at 7:26

Browse other questions tagged or ask your own question.