DPlot Forum Index DPlot
http://www.dplot.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 28 matches
DPlot Forum Index
Author Message
  Topic: save a bitmap
walleye3313

Replies: 2
Views: 16628

PostForum: Basic   Posted: Thu Apr 26, 2007 3:27 pm   Subject: save a bitmap
Thanks david,

i'll go that route.

jerry
  Topic: save a bitmap
walleye3313

Replies: 2
Views: 16628

PostForum: Basic   Posted: Thu Apr 26, 2007 10:54 am   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 a ...
  Topic: error message, need some help
walleye3313

Replies: 8
Views: 31473

PostForum: Basic   Posted: Tue Mar 28, 2006 12:11 pm   Subject: error message, need some help
Maybe I finally get it, sometimes i need things to be painfully obvious,
Embarassed
I'll play around with this some more and see what happens, i'l try using the metrics to scale and see of the resul ...
  Topic: error message, need some help
walleye3313

Replies: 8
Views: 31473

PostForum: Basic   Posted: Tue Mar 28, 2006 10:28 am   Subject: error message, need some help
Ok, i posted that so you could read what some of my thinking has been.

so if i use the hll, vll etc, to determine the pixel locations of the corners of the plot then is there a way to get the x an ...
  Topic: error message, need some help
walleye3313

Replies: 8
Views: 31473

PostForum: Basic   Posted: Tue Mar 28, 2006 10:20 am   Subject: error message, need some help
Keep in mind that those are the pixel values of the corners of the plot, though - not the extents of the entire plot. So this still may not be quite what you have in mind.


i don't know what you m ...
  Topic: error message, need some help
walleye3313

Replies: 8
Views: 31473

PostForum: Basic   Posted: Mon Mar 27, 2006 8:49 pm   Subject: error message, need some help
i don't see the problem, here is the code i'm using:

' try to get the metrics without drawing the plot
If (hBitmap <> 0) Then
ret = DeleteObject(hBitmap) ...
  Topic: error message, need some help
walleye3313

Replies: 8
Views: 31473

PostForum: Basic   Posted: Mon Mar 27, 2006 8:33 pm   Subject: error message, need some help
LOL,

i had a hunch it was something like that!

now i have an idea where to look in the code. i used the DPM to get the corners of the plot and then use the distance between the corners to size t ...
  Topic: error message, need some help
walleye3313

Replies: 8
Views: 31473

PostForum: Basic   Posted: Mon Mar 27, 2006 5:29 pm   Subject: error message, need some help
David,

i have gotten the following:

Error in CreateCompatibleBitmap=0x00000008, Size 802x616744

i suspect there is a size issue, can you fill me in on the error and any limitations that i ne ...
  Topic: sort of a bug in the help file
walleye3313

Replies: 1
Views: 13163

PostForum: Bug Reports   Posted: Fri Mar 10, 2006 10:21 pm   Subject: sort of a bug in the help file
David,

as you can imagine i have been reading the DPlotJr help file alot the last few days Laughing

and i notice a bug of sorts: when you open the help file the window is taller than the viewable ...
  Topic: bitmap question
walleye3313

Replies: 9
Views: 32988

PostForum: Basic   Posted: Fri Mar 10, 2006 10:17 pm   Subject: bitmap question
David,

i started to type another question:


This is so frustrating, every time i think its working and move on a new glitch comes in!

i'm sure you don't have that happen though.....

OK ...
  Topic: bitmap question
walleye3313

Replies: 9
Views: 32988

PostForum: Basic   Posted: Fri Mar 10, 2006 7:01 pm   Subject: bitmap question
OK, David,

now that's the ticket. i've got what i need, i just need to check the pixels per inch of the picturebox on the form load event and then i can size the plot accordingly once the file to ...
  Topic: bitmap question
walleye3313

Replies: 9
Views: 32988

PostForum: Basic   Posted: Fri Mar 10, 2006 1:08 pm   Subject: bitmap question
On a quick glance i think i see how this works.

I will try it out after lunch, if i can get (wx,wy) in this way then i'm home free and i only need to scale the bitmap large enough to give at least ...
  Topic: bitmap question
walleye3313

Replies: 9
Views: 32988

PostForum: Basic   Posted: Fri Mar 10, 2006 12:59 pm   Subject: bitmap question
OK,

i'll take a look at that, i think you understand just what i'm trying to do.

thanks
jerry
  Topic: bitmap question
walleye3313

Replies: 9
Views: 32988

PostForum: Basic   Posted: Fri Mar 10, 2006 12:48 pm   Subject: bitmap question
I found this which may lead to a solution:

Return the number of twips per pixel for an object measured horizontally (TwipsPerPixelX) or vertically (TwipsPerPixelY).

Syntax

object.TwipsPerPixe ...
  Topic: bitmap question
walleye3313

Replies: 9
Views: 32988

PostForum: Basic   Posted: Fri Mar 10, 2006 12:31 pm   Subject: bitmap question
"strange VB gizmo"

that made me laugh, but twips do come into play, possibly.

here is what i am working on, i have been playing with it this morning,

if i plot using twips, which should equ ...
  Topic: bitmap question
walleye3313

Replies: 9
Views: 32988

PostForum: Basic   Posted: Fri Mar 10, 2006 11:15 am   Subject: bitmap question
David,

can you tell me the number of pixels per inch that a bitmap is created with when i use DPlot_GetBitmapEx ?

i think i have my scaling problem solved once i know that.

thanks
jerry
  Topic: problem in VB6
walleye3313

Replies: 7
Views: 28812

PostForum: Basic   Posted: Tue Mar 07, 2006 7:10 pm   Subject: problem in VB6
OH YEAH!!!!


I finally got it,

well OK: YOU finally got it for me, now lets see if i can get the rest of this thing done this week.

Thanks again,
Jerry
  Topic: problem in VB6
walleye3313

Replies: 7
Views: 28812

PostForum: Basic   Posted: Tue Mar 07, 2006 6:44 pm   Subject: problem in VB6
David,

thanks a bunch, i got 1. and 2. squared away.

3 however, hmmmm....

i can turn off the axes in DplotJr using the menu, i could not find an equivalent command to do the same, does one e ...
  Topic: problem in VB6
walleye3313

Replies: 7
Views: 28812

PostForum: Basic   Posted: Tue Mar 07, 2006 9:39 am   Subject: problem in VB6
Thanks David that did it.

I now have the plot down to almost exactly what i need. i have three more changes to make, or figure out how to work around.

can I:

1. change all of the colors o ...
  Topic: problem in VB6
walleye3313

Replies: 7
Views: 28812

PostForum: Basic   Posted: Mon Mar 06, 2006 12:58 pm   Subject: problem in VB6
after all of that, i think i found the problem, i need to delete docMaximize() from the cmds string don't I?


cheers
jerry
  Topic: problem in VB6
walleye3313

Replies: 7
Views: 28812

PostForum: Basic   Posted: Mon Mar 06, 2006 12:22 pm   Subject: problem in VB6
David,

i'm back at it agian, and now i am using your exapmle from btest2 to draw a plot into a form. i simply imported your example into my code and remmed my code, now i get the bitmap in the pic ...
  Topic: Contour Plott export and general data questions
walleye3313

Replies: 5
Views: 17400

PostForum: Suggestions/Questions   Posted: Wed Dec 28, 2005 11:03 am   Subject: Contour Plott export and general data questions
Thanks David,

I should be able to keep moving now.

i really appreciate your continued help on this project, though it is going slow being just a hobby i'm glad to be getting close.

cheers ...
  Topic: Contour Plott export and general data questions
walleye3313

Replies: 5
Views: 17400

PostForum: Suggestions/Questions   Posted: Tue Dec 27, 2005 11:35 am   Subject: Contour Plott export and general data questions
David,

i solved part of the problem of finding the coordinates of the black pixels, but that brings up a new question. since my data needs to be interpreted in sequence by the device, i.e. it is r ...
  Topic: using JR to export to bitmap, and scale question
walleye3313

Replies: 4
Views: 17879

PostForum: General discussion   Posted: Sun Aug 21, 2005 8:54 pm   Subject: using JR to export to bitmap, and scale question
great,

i'll have to do some experimenting with sizes to find just the right size to give me 1 meter between pixels.

thanks
jerry
  Topic: using JR to export to bitmap, and scale question
walleye3313

Replies: 4
Views: 17879

PostForum: General discussion   Posted: Sun Aug 21, 2005 1:12 pm   Subject: using JR to export to bitmap, and scale question
Jerry,
To get the same size 2D plot every time, regardless of whether there's a title or axis labels or not, use

wow, that's cool. if i make the plot larger that will give me more bits and theref ...
  Topic: using JR to export to bitmap, and scale question
walleye3313

Replies: 4
Views: 17879

PostForum: General discussion   Posted: Sat Aug 20, 2005 5:44 pm   Subject: using JR to export to bitmap, and scale question
hi david,

i'm still plugging away at my project! i promise to send you a copy to try out, really. you may recall that i am working with GPS/Sonar data and making bathymetric charts with the goal o ...
  Topic: Contour Plott export and general data questions
walleye3313

Replies: 5
Views: 17400

PostForum: Suggestions/Questions   Posted: Sun Jun 05, 2005 1:58 pm   Subject: Contour Plott export and general data questions
thanks for the reply david,

the file size will no longer be a worry to me, though 6 million data points are not out of reality for me either!



as to repeated data: that's interesting that it ...
  Topic: Contour Plott export and general data questions
walleye3313

Replies: 5
Views: 17400

PostForum: Suggestions/Questions   Posted: Sat Jun 04, 2005 9:18 am   Subject: Contour Plott export and general data questions
David,

don't know if you recall, but i am working with GPS/Sonar data to make contour plot for lake bottoms. you helped me with my app last fall and now all is working well and i am ready to go to ...
 
Page 1 of 1
All times are GMT - 5 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group