News for hackers. Stuff that matters.
Re:MSPaint in JavaScript by MarcellusDrum on Tuesday February 25, 2020 @07:25PM (#22419068)
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.
Re:MSPaint in JavaScript by zeta0x10 on Tuesday February 25, 2020 @07:45PM (#22419201)
Yeah, 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).
Re:MSPaint in JavaScript by _def on Tuesday February 25, 2020 @07:36PM (#22419144)
It may be possible via the FileReader API