Re: [AD] support for mod files

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Tue, Apr 6, 2010 at 2:40 PM, Milan Mimica <milan.mimica@xxxxxxxxxx> wrote:
> Peter Wang wrote:
>> On 2010-04-06, Peter Wang <novalazy@xxxxxxxxxx> wrote:
>>> Anyone care to write a Windows Imaging Component backend?
>>
>> GDI+ or something else might be a better choice.
>
> I wouldn't know how to implement the *_fp versions with that.
>

Would implementing an IStream interface work?

Image *img = Image::FromStream(allegroStream, false);
// convert to allegro bitmap

I can mess around with it if you don't want to. (I've not ever worked
with GDI+.)

--
Matthew Leverton




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/