View previous topic :: View next topic |
Author |
Message |
walleye3313
Joined: 04 Jun 2005 Posts: 28
|
Posted: Thu Apr 26, 2007 10:54 am Post subject: save a bitmap |
|
|
Hi,
i am stuck and wonder if you can help.
i am using Jr to draw a plot in a picture box using your sample code in VB6. i get exactly the plot i want. now i want to save that as a bitmap file and can't seem to make that work .
any ideas?
thanks
jerry |
|
Back to top |
|
|
DPlotAdmin Site Admin
Joined: 24 Jun 2003 Posts: 2310 Location: Vicksburg, Mississippi
|
Posted: Thu Apr 26, 2007 2:11 pm Post subject: |
|
|
The easiest way is to grab a copy of the FreeImage DLL (http://freeimage.sourceforge.net/), which includes VB examples and is freely distributable.
If you'd rather roll your own... it's a bit involved, really too involved to lay it all out here. All of the source examples I have are in C, but you should be able to find what you need by Googling some combination of "VB save BMP". _________________ Visualize Your Data
support@dplot.com |
|
Back to top |
|
|
walleye3313
Joined: 04 Jun 2005 Posts: 28
|
Posted: Thu Apr 26, 2007 3:27 pm Post subject: |
|
|
Thanks david,
i'll go that route.
jerry |
|
Back to top |
|
|
|