Add support for image decoders.

Thanks to this, we can now use any image in video.add_image as requested
in #25.
Merge pull request #27 from savonet/image-decoder

Add support for image decoders.