Author Topic: Has anyone done much work in GDI+ code ?  (Read 1222 times)

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 4813
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Has anyone done much work in GDI+ code ?
« 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.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :biggrin:

jcfuller

  • Member
  • **
  • Posts: 175
Re: Has anyone done much work in GDI+ code ?
« Reply #1 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

caballero

  • Member
  • ****
  • Posts: 760
    • Abre Ojos Ensamblador
Re: Has anyone done much work in GDI+ code ?
« Reply #2 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. Nevertheless, if you find there anything useful, that's yours.

« Last Edit: February 17, 2017, 12:11:40 AM by caballero »
En un lugar de la Mancha de cuyo nombre no quiero acordarme

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 4813
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: Has anyone done much work in GDI+ code ?
« Reply #3 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.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :biggrin:

caballero

  • Member
  • ****
  • Posts: 760
    • Abre Ojos Ensamblador
Re: Has anyone done much work in GDI+ code ?
« Reply #4 on: February 17, 2017, 06:32:19 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.
En un lugar de la Mancha de cuyo nombre no quiero acordarme

jcfuller

  • Member
  • **
  • Posts: 175
Re: Has anyone done much work in GDI+ code ?
« Reply #5 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

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 4813
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: Has anyone done much work in GDI+ code ?
« Reply #6 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.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :biggrin:

K_F

  • Member
  • *****
  • Posts: 1287
  • Anybody out there?
Re: Has anyone done much work in GDI+ code ?
« Reply #7 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:
'Sire, Sire!... the peasants are Revolting !!!'
'Yes, they are.. aren't they....'

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 4813
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: Has anyone done much work in GDI+ code ?
« Reply #8 on: March 26, 2017, 10:55:09 PM »
Thanks Van,

I may help to dilute my ignorance of the area.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :biggrin:

dedndave

  • Member
  • *****
  • Posts: 8734
  • Still using Abacus 2.0
    • DednDave
Re: Has anyone done much work in GDI+ code ?
« Reply #9 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/

K_F

  • Member
  • *****
  • Posts: 1287
  • Anybody out there?
Re: Has anyone done much work in GDI+ code ?
« Reply #10 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
'Sire, Sire!... the peasants are Revolting !!!'
'Yes, they are.. aren't they....'

guga

  • Member
  • ****
  • Posts: 826
  • Assembly is a state of art.
    • RosAsm
Re: Has anyone done much work in GDI+ code ?
« Reply #11 on: April 23, 2017, 06:53:21 AM »
You can use:

megaupload (mega.co.nz)
4shared
googledrive
Coding in Assembly requires a mix of:
80% of brain, passion, intuition, creativity
10% of programming skills
10% of alcoholic levels in your blood.

My Code Sites:
http://rosasm.freeforums.org
http://winasm.tripod.com

Siekmanski

  • Member
  • *****
  • Posts: 1094
Re: Has anyone done much work in GDI+ code ?
« Reply #12 on: April 23, 2017, 12:31:07 PM »
Thanks K_F , it's on my computer now  :t

jiucenglou

  • Regular Member
  • *
  • Posts: 12
Re: Has anyone done much work in GDI+ code ?
« Reply #13 on: July 15, 2017, 11:16:33 PM »
Would compiler generated GDI+ asm be useful ?   :redface: