I'm a neeby newb noob at VB, and was just wondering if basically the funtions of scar are possible in VB (like finding an image, its coordinates, clicking stuff etc). Am I going to have to learn about text wrapping and complicated stuffs like that? Or is it possible for someone to explain something to me easily =P And yea sorry to have neebered up your time ><
From my VARY basic coding knowledge i think its something to do with fidning darkest pixel? If that helps
I'm wondering the same thing... I know Scar is base on pascal, but I don't if there's a way to convert this to vb... cause if we can, I'm thinking captcha solver here....
Yeah it does have something to do with darkest pixel. Is it possible to do it in visual basic ? or only c#
It is really possible to do this in Visual Basic, all you have to know is how to retrieve the darkness of a pixel in a Bitmap...
Well, declare 3 variables, the temporary storage for the darkest pixel found and the X and Y coordinates. Then make a loop to scan every pixel (you can use 2 nested For...Next Loops), and use the GetPixel API to get the Long value of each pixel's colour. After that, grab the Red, Green and Blue values from the pixel and get the average value, and well, that is the Brightness of the pixel. Store this value in the variable if it's darker than the previous one, and save the X and Y coordinates... This way, at the end of the loop the X and Y variables will be the coords of the darkes pixel.
here is a whole package of Visual Basic imaging knowledge for you to learn. just search online. now the VB and C# has becoming popular that other language. so it's good to learn. VB.NET imaging learning process image with VB.NET
I think I wrote one in VB.NET a long time ago... post408924.html?sid=e4fedb1dcd0ed5df728f5561d17fca9b#p408924