3 ms·
From a technical perspective it's definitely possible. I can't remember off hand, but i'm almost certain I came across something that did this before.. A quick
by alias1 14y ago
From a technical perspective it's definitely possible. I can't remember off hand, but i'm almost certain I came across something that did this before..
A quick google turned up the following:
http://www.bytestrom.eu/blog/2009/1120a_jpeg_encoder_for_javascript http://www.bytestrom.eu/blog/2009/1120a_jpeg_encoder_for_jav...
https://gist.github.com/1245476 https://gist.github.com/1245476
Hope it helps
- yaix 14y agoThanks. I had seen this encoder before, it has one problem >> The encoder expects a „CanvasPixelArray“ (as returned by the „getImageData“ method of a canvas). I'd like to use raw binary data simply read from the local file system, and run it through an encoder.