LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I capture a picture from an active window on the net?

I want to capture an image on the net and convert it to a number array using LabView.
0 Kudos
Message 1 of 6
(2,789 Views)
How automatic do you want the process to be? You could always do a screen capture manually, paste it into paint, save it as a BMP and then open the BMP in LV.

What exactly are you trying to do?

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 6
(2,789 Views)
That's exactly what I want to do. I can save the picture in LabView and convert it to a number array for use. But, I can't seem to capture a certian active window. I don't see a url. It appears to be inbedded in some sort of source code. Is there a way to take a snapshot (or similar) of the "active window" without knowing the url? If not, is there a way to find the specific address?
0 Kudos
Message 3 of 6
(2,789 Views)
Well, on my PC pressing Fctn - Print Screen. Captures whatever is on my screen and saves it to the clipboard. On my keyboard, Print Screen (abbreviated "Prt Sc") is the same as the "Insert" key.

Of course you might need to clean-up the image to trim out the window borders and such but this should always work. Is the web site you are accessing a publically accessible one? If so I would be willing to look at it and see what I can find.

But I have never seen Fctn-PrintScreen fail to capture what I was looking at...

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 4 of 6
(2,789 Views)
I'm fairly new to LV and doing my best. The site is PoGo.com going to the Poppit game. I am looking to capture a picture and write a "cheat program" for this online game. This will be my second one and I find this to be a little more chalenging than the first for me. Basically, the game is a 2D array of balloons (colors) and the object is to eliminate all balloons. As you pop a grouping the others will float up and adjust themselves according to physics. I have been able to capture any web page with a URL using the Invoke Node Web Browser/Get Image, but this page that is inside an existing program seems to be eluding me. If you believe there is a better/faster/more reliable way to capture an image online, please let me know. Maybe, i
f at all possible, we could actually email instead of going through NI.com, let me know. Thanks for your help.
0 Kudos
Message 5 of 6
(2,789 Views)
Hi,

Seems that the are doing everything to prevent automated play of the
game.....


Anyway, you'll have to figure out a way open the link inside a activex
component. Then you can capture the image using the invoke node (of the LV
control, not of the axtivex) GetImage.

Otherwise, you'll have to use windows (GDI) api's, like BitBlt, GetDC and
GetDIBits. To know how to use them, you'll have to study C, Visual Basic,
etc. code, and the windows SDKs as well. (This might not be worth the
effort...)

Regard,

Wiebe.

"Alpine" wrote in message
news:506500000005000000DF6C0000-1017707437000@exchange.ni.com...
> I'm fairly new to LV and doing my best. The site is PoGo.com going to
> the Poppit game. I am looking to capture a pict
ure and write a "cheat
> program" for this online game. This will be my second one and I find
> this to be a little more chalenging than the first for me. Basically,
> the game is a 2D array of balloons (colors) and the object is to
> eliminate all balloons. As you pop a grouping the others will float
> up and adjust themselves according to physics. I have been able to
> capture any web page with a URL using the Invoke Node Web Browser/Get
> Image, but this page that is inside an existing program seems to be
> eluding me. If you believe there is a better/faster/more reliable way
> to capture an image online, please let me know. Maybe, if at all
> possible, we could actually email instead of going through NI.com, let
> me know. Thanks for your help.
0 Kudos
Message 6 of 6
(2,788 Views)