Re: gdiplus: Implement GdipLoadImageFromFile

2008-02-23 Thread Dmitry Timoshkov
"Nathan Beckmann" <[EMAIL PROTECTED]> wrote: > stat = GdipCreateBitmapFromStream(stream, bitmap); > > -if(!stat) > +if(stream) > IStream_Release(stream); The 'if' check above is not needed, GdipCreateStreamOnFile returns a status which is already checked. > +stat = Gd

Re: gdiplus: Implement GdipLoadImageFromFile

2008-02-23 Thread James Hawkins
On Sat, Feb 23, 2008 at 11:00 PM, Nathan Beckmann <[EMAIL PROTECTED]> wrote: > Hi. My name is Nathan Beckmann. I'm working on GDI+ for a class > project at UCLA (sponsored by Google). > > This patch implements GdipLoadImageFromFile. > > It includes basic tests for invalid parameters, all of whic