-
Hi,
I want to convert my drawings to GIF or JPEG on the fly.
I mean, assuming that I draw on a form or a pciture box using methods like Line, Circle, etc. is there a way in Visual Basic 6.0 to save the image I created in GIF or JPG format so that I don't have to run the program all the time for the same graphic?
Any help appreciated.
Thanks in advance.
-
Dude,
The only thing that I can think of is doing an alt + Print Screen when you have the window active, then opening up a simple photoshop application, pasting, and then saving JPEG or GIF there... I wasn't sure if this is what you are looking for.. then you can take that image, and put it in your VB project if you like.
~Brian
[email protected]
-
If you have a lot of experience with programming, grab the specs of GIF and JPEG at http://wotsit.org
-
If you're just using things like that, take a look at the WMF spec as well.
-
You could ask me and i'll send you the code to save to JPEG
-
Oh yeah, Kedaman...that code was pretty good.
-
Yep, and that's because it's my code, hehe, actually i think i got it somewhere from planetsourcecode.
BTW, great site wotsit.org ;)
-
Yes, I found some useful information on MIDI files there for my next project...