Re: loading, Flipping and saving jpgs
- From: "Bill McCarthy" <Bill@xxxxxxxxxx>
- Date: Mon, 24 Mar 2008 10:46:07 +1100
"Michael C" <nospam@xxxxxxxxxxx> wrote in message news:O5fCyvTjIHA.5260@xxxxxxxxxxxxxxxxxxxxxxx
"Bill McCarthy" <Bill@xxxxxxxxxx> wrote in message news:50A14BA5-13D1-4569-A67C-330630DEAC57@xxxxxxxxxxxxxxxxSo how different is that from VB.NET ? (rhetorical) The differences are I'm using a pointer for the image rather than an object wrapper, and I need to InitGdip and ShutdownGdip (although unlike VB.NET I get to control when GDI+ is loaded and unloaded), and the saving requires me to declare the EncoderParameters. So it's a little different, perhaps a little crueder, albeit with a bit more flexibility than VB.NET. "complicated".... I don't think so. Compared to the complications of porting an app over to VB.NET, it seems incredibly easy and simple to me.
You're using someone elses code.
As you are in .NET. The thing here is it's *not* a 20 or 30 MB library ;)
So basically it is complicated,
Huh ? I just showed you the code.
just someone else has done the work for you.
And that's different from .NET how ?
I understand what you're saying but my original statement was that this would be complicated to do in vb6 and require a lot of api calls, which is true.
As I said, .NET requires the same API calls. In fact .NET needs to do some PInvoke marshalling to call upon GDI+.
Both the .NET code and the VB6 code ultimately use GDI+, and both require the same amount of api calls.
.
- Follow-Ups:
- Re: loading, Flipping and saving jpgs
- From: Michael C
- Re: loading, Flipping and saving jpgs
- References:
- loading, Flipping and saving jpgs
- From: Jim
- Re: loading, Flipping and saving jpgs
- From: Michael C
- Re: loading, Flipping and saving jpgs
- From: Michael C
- Re: loading, Flipping and saving jpgs
- From: Bill McCarthy
- Re: loading, Flipping and saving jpgs
- From: Michael C
- loading, Flipping and saving jpgs
- Prev by Date: Re: Unable to cast COM object of type 'System.__ComObject' to class type 'System.Drawing.Image'.
- Next by Date: Re: loading, Flipping and saving jpgs
- Previous by thread: Re: loading, Flipping and saving jpgs
- Next by thread: Re: loading, Flipping and saving jpgs
- Index(es):
Relevant Pages
|