The MASM Forum

Microsoft 64 bit MASM => MASM64 SDK => Topic started by: hutch-- on February 16, 2017, 03:09:49 PM

Title: Has anyone done much work in GDI+ code ?
Post by: hutch-- on February 16, 2017, 03:09:49 PM
Now that I am free for a while from working on the help file, I have added another GDI+ proc to the library to load a PNG/JPG disk file as well as the one that loads PNG/JPG data from the resource section. I don't have much mileage in recent graphics and its not really my field so I wondered if any of our members have done much work in this area. It would be useful to have a write procedure that could save a bitmap image to either a JPG on PNG in RGB/A mode to disk.

I have so far tried to avoid any COM interfaces due to the clunky technique to get it going and I wonder if there are any methods to do extra GDI+ code at a normal procedural level. The info is reasonably limited, I have Jose Roca's help file and some very ordinary technical data from an SDK of about 2003 and there is not much decent examples around so any assistance here would be appreciated.
Title: Re: Has anyone done much work in GDI+ code ?
Post by: jcfuller on February 16, 2017, 08:52:44 PM
Hutch,
  I'm not sure if this is more complete than José's help file?
http://www.jose.it-berater.org/gdiplus/iframe/index.htm

James
Title: Re: Has anyone done much work in GDI+ code ?
Post by: avcaballero on February 16, 2017, 10:06:53 PM
I haven't worked "much" on GDI+ and I guess that it is already known that what I have done it's already available at my site (http://www.abreojosensamblador.net/Productos/AOW32_/html/Pags/Cap06.html#GDIPLUS). Nevertheless, if you find there anything useful, that's yours.

Title: Re: Has anyone done much work in GDI+ code ?
Post by: hutch-- on February 17, 2017, 12:09:43 PM
caballero,

I try to go to links from your page to either the MASM source code or the binary and all I get is a blank page.

James,

I think there is a bit more on the HTML page but I have little reference on what to do with it.
Title: Re: Has anyone done much work in GDI+ code ?
Post by: avcaballero on February 17, 2017, 06:32:19 PM
Quote from: hutch-- on February 17, 2017, 12:09:43 PM
I try to go to links from your page to either the MASM source code or the binary and all I get is a blank page.
That's why it is no masm source/binary yet, only tinyc. The reason is the lack of time. When I have time I will complete the missing part. Basically everything is done in tinyc.
Title: Re: Has anyone done much work in GDI+ code ?
Post by: jcfuller on February 17, 2017, 09:56:30 PM
Steve,
Are you looking for 64 bit asm  specific?
If not did you scan the postings here:
http://www.jose.it-berater.org/smfforum/index.php?board=277.0

James
Title: Re: Has anyone done much work in GDI+ code ?
Post by: hutch-- on February 17, 2017, 10:47:28 PM
James,

I can convert PB to 64 bit MASM with no problems, its just that the reference material is almost non existent.
Title: Re: Has anyone done much work in GDI+ code ?
Post by: K_F on March 26, 2017, 10:14:33 PM
Only seen this now. :redface:

I have done a window (not complete) on GDI+
Ja .. the GDI+ information is sketchy and I had to bang my head against the wall a few times, eventually using alternative methods to do the same thing.

This is what i've done to get a simple graph going - it's a mod file so only contains the procedures used, but it still gives an idea.
All the commented stuff is testing and breaking the wall with my head - it's coming right though and I'll get back to completing this later.
:biggrin:
Title: Re: Has anyone done much work in GDI+ code ?
Post by: hutch-- on March 26, 2017, 10:55:09 PM
Thanks Van,

I may help to dilute my ignorance of the area.
Title: Re: Has anyone done much work in GDI+ code ?
Post by: dedndave on March 27, 2017, 05:05:59 AM
i have done a little

as i recall, Jose is a good resource for all things GDI and GDI+

http://www.jose.it-berater.org/smfforum/
Title: Re: Has anyone done much work in GDI+ code ?
Post by: K_F on April 23, 2017, 06:30:52 AM
I made a GDI+ pdf from the MSDN website for bedtime reading.. Just rediscovered it - it might help !
Teh MSDN might have changed wrt GDI+, as this was made a while back.

Does anyone know of a website to upload docs... this one's over 1MB zipped so cannot attach it here.

I've uploaded to this link, but if it's troublesome.. delete it..

http://docdro.id/moYDsWO (http://docdro.id/moYDsWO)
Title: Re: Has anyone done much work in GDI+ code ?
Post by: guga on April 23, 2017, 06:53:21 AM
You can use:

megaupload (mega.co.nz)
4shared
googledrive
Title: Re: Has anyone done much work in GDI+ code ?
Post by: Siekmanski on April 23, 2017, 12:31:07 PM
Thanks K_F , it's on my computer now  :t
Title: Re: Has anyone done much work in GDI+ code ?
Post by: jiucenglou on July 15, 2017, 11:16:33 PM
Would compiler generated GDI+ asm be useful ?   :redface: