Hi,

I want to save a HDC (bitmap) as jpg or gif file.
Has anybody a solution for that ?

Greetings,
Nordwind64
Posted on 2002-07-12 13:40:39 by Nordwind64
My tip is: have a look at http://spiff.tripnet.se/~iczelion/source0.html
on the link above (Iczelion's site) you'll find both "GIF Library 1.0" and "Senf's Intel JPEG Library Demo".

You could also search this forum, search for "intel jpeg library" for JPEG, (
http://www.asmcommunity.net/board/search.php?s=&action=showresults&searchid=61236&sortby=lastpost&sortorder=descending)
Posted on 2002-07-12 16:41:22 by scientica
You can use Intel JPEG Library to save JPEGs, and may also be very lucky to find a GIF saving library somewhere.
Posted on 2002-07-12 22:29:16 by comrade
GIF, habe a look here, mostly C/C++
http://www.programmersheaven.com/zone10/cat452/
Posted on 2002-07-13 02:33:13 by scientica
Hi,

thank you very much !!!
But is there a way without special library ? Is it possible to save pictures at jpg or gif via OLE32 ?
Has anybody an example ?

Greetings,
Nordwind64
Posted on 2002-07-13 04:08:24 by Nordwind64
yeah... i think it should be also possible doing that with OLE32, because there is also a possibility to open gifs and jpegs with that.. but i'm not sure.. sorry..

i think ernie should have more information (?)

Noppy
Posted on 2002-07-13 06:59:49 by NOP-erator
Thanks,

I use Ernies sources to load gif's and jpg's.
Great job, Ernie !!!

Can I save pictures in the same way ?

Greetings,
Nordwind64
Posted on 2002-07-13 08:39:56 by Nordwind64
Posted on 2002-07-13 13:10:08 by comrade
Eerrr, sorry comrade, I don't want a 364 KB big dll in my programm only for saving jpg's.
It must be give another way only using ole32 ?
Please...

Greetings,
Nordwind64
Posted on 2002-07-13 15:16:30 by Nordwind64