raja
raja

Reputation: 3

How read pixel of an image without canvas

How to get all pixel info (RGB) of an image using JavaScript. I can't use CANVAS.

Just reading an image from local disk and parse the pixels. I don't want to render img on the page.

Upvotes: 0

Views: 544

Answers (1)

AndreKR
AndreKR

Reputation: 33707

That is not possible. Javascript cannot read plain binary data from files on local disk (for obvious security reasons).

Upvotes: 1

Related Questions