scummvm/scummvm — pull request #199 by clone2727 (2012-02-23 20:33:21+00:00)
Title: Introduce an ImageDecoder class

This introduces a new ImageDecoder class for the purpose of having some of our common image decoders inherit from it. I have already done this with BMP, JPEG, PICT, and PNG.

I have also added a "convertTo" function for Surfaces which adds a simple API for converting from one PixelFormat to another.

This new BMP decoder also replaces the old ImageDec interface that was previously used by the GUI and Hugo.