Click here to Skip to main content
15,891,184 members

Comments by z3m (Top 16 by date)

z3m 21-Dec-16 2:44am View    
Sure here is the detailed link:
https://www.dropbox.com/sh/fannxb103h4859a/AAC2dQ3WOv6R1FD75m_otu8ca?dl=0
z3m 28-Jul-14 12:33pm View    
Thanks a lot. You delivered the main idea :)
z3m 1-Jun-14 16:26pm View    
Dear I have already visited and studied the msdn. It didn't helped me enough.
http://msdn.microsoft.com/en-us/library/system.security.cryptography.hashalgorithm.aspx
z3m 13-May-14 4:24am View    
I have tried the Bitmap.LockBits method, u can see code down here, but the problem I got is every fourth bit in array is 255 and all thers are 0 like this {0,0,0,255, 0,0,0,255,0,0,0,255}

what could be the reason? please help
"code example is here "
public byte [] returnArray(Bitmap bitmap){
BitmapData bmpData = bitmap.LockBits(new Rectangle(0, 0, bitmap.Width, bitmap.Height), ImageLockMode.ReadOnly, bitmap.PixelFormat);
IntPtr ptr= bmpData.Scan0;
int bytes= Math.Abs(bmpData.Stride)*bmpData.Height;

byte[] rgbvalues= new byte[bytes];

System.Runtime.InteropServices.Marshal.Copy(ptr, rgbvalues, 0, bytes);
return rgbValues;
}
z3m 13-May-14 3:10am View    
Sergey! I am sorry to say but I didn't got your point. :(