how to get the pic from my cam

Previous topic - Next topic


i bought a cheap sony cam from ebay in the hope i can get the picture from.

the url works in firefox and edge , "" - it call a javascript i think.

any tips?


I <3 DGArray's :D

AMD Ryzen 7 3800X 16@4.5GHz, 16GB Corsair Vengeance LPX DDR4-3200 RAM, ASUS Dual GeForce RTX™ 3060 OC Edition 12GB GDDR6, Windows 11 Pro 64Bit, MSi Tomahawk B350 Mainboard

Kitty Hello

You want that picture in glbasic? Try netgetweb (is it called that?) and print what you get. I guess it returns html code. See where ghe img tag points to and try netgetweb on that address again. It should be a jpeg.    Or, its a video. On windows, download ffmpeg and grab one frame to extract a jpg, then.


First it depends what such call returns, is it html code with encoded image, raw jpeg or something.
Check 'programmer console/options/view' in your browser what does it do after going to this site, or use http debug tool/spy like Fiddler to get all needed info, as it may require to use some specific http headers to force some behavior. If you would need to get that image asynchronously best would be custom http handing code with network commands. If you would have any problems let us know.
Check my source code editor for GLBasic - link Update: 20.04.2020