Click here to Skip to main content
15,922,512 members

Comments by Ayman Khoshouey (Top 7 by date)

Ayman Khoshouey 7-May-14 8:19am View    
How can I catch the image from the opened website and modify it using VB.net

My questions had two part the second part is how to modify the image.
Is there a method to do this with the common browsers???
Ayman Khoshouey 7-May-14 5:16am View    
I have a problem that the PictureBox give nothing......I can't access the DataGridView and get the compare between the color
Ayman Khoshouey 7-May-14 5:14am View    
That means there is no way to do this with the common browsers?????
Ayman Khoshouey 7-May-14 5:10am View    
this is the code I used:
Dim bm As Bitmap = New Bitmap("C:\trash\Babymono100.bmp")'100 x 100 pixels picture

Dim x

Dim y
i = 1
PictureBox1.Image = bm
For y = 0 To bm.Height - 1
Me.Show()
For x = 0 To bm.Width - 1

Dim c As Color = bm.GetPixel(x, y)

For i = 1 To 255

If CInt(c.R) = CInt(DataGridViewSource.Rows(i).Cells(1).Value) Then
bm.SetPixel(x, y, Color.FromArgb(232, 123, 100))

Exit For
End If

Next
Next
Next
Ayman Khoshouey 7-May-14 4:59am View    
I want to do this programmically to prevent just the unsiutable pictures not all pictures.
I have Matrixs for all skin colored and I want to change the RGB of the pixels of the porno pictures to be Dark color letus say "bm.SetPixel(x, y, Color.FromArgb(132, 15, 151))"