News for hackers. Stuff that matters.
Re:Ask HN: Possible to re-compress JPEG on the client before... by AshleysBrain on Sunday April 15, 2012 @01:13PM (#3844106)
How about creating an 800x600 2D canvas, load the huge photo to an Image() object, drawImage() to the canvas at 800x600, then upload via toDataURL()?

TBH this seems to me to be more of a StackOverflow question than Ask HN though.

Re:Ask HN: Possible to re-compress JPEG on the client before... by robertocr on Sunday April 15, 2012 @01:35PM (#3844146)
"TBH this seems to me to be more of a StackOverflow question than Ask HN though." +1