1) Создайте HTML5-холст того же размера, что и ваше изображение
2) Получить контекст холста, drawImage (yourImage, 0, 0)
3) d = context.getImageData (0, 0, w из img, h из img)
4) d.data [(y * width + x) * 4 + 3] для альфы
canvas = document.createElement("canvas"); //Create HTML5 canvas: supported in latest firefox/chrome/safari/konquerer. Support in IE9
canvas.width = img.width; //Set width of your rendertarget
canvas.height = img.height; // \ height \ \ \
ctx = canvas.getContext("2d"); //Get the 2d context [the thing you draw on]
ctx.drawImage(img, 0, 0); //Draw the picture on it.
id = ctx.getImageData(0,0, img.width, img.height); //Get the pixelData of image
//id.data[(y*width+x)*4+3] for the alpha value of pixel at x,y, 0->255