4 ms·
The script do run on the client side, but it can't access images from your computer, so you will have to upload it first so it can access it from the server.
by MarcellusDrum 7y ago
The script do run on the client side, but it can't access images from your computer, so you will have to upload it first so it can access it from the server.
- _def 7y agoIt may be possible via the FileReader API
- zeta0x10 7y agoYeah, but you don't upload it - you just make it accessible to the browser. So you read it into memory, but you would do the same with a "native" program (despite the fact that a very large file might be read more intelligently if it doesn't fit into RAM).