-1

I have been using tools like OptiPng for a long time and am wondering if there is any equivalent, that runs in JavaScript only inside the browser.

Just curious if a framework/plugin exists to optimize images in JavaScript?

frequent
  • 27,643
  • 59
  • 181
  • 333

2 Answers2

1

I found pixtastic project. Not sure about performance but this sounds possible. http://www.pixastic.com/

Kevin Labécot
  • 2,005
  • 13
  • 25
0

Some thorough search later:

This SO question has all the necessary links. There is an imageMagick version in Javascript (found here).

Also, in theory it's possible to port to Javascript using emscriptem (see here)

ProcessingJS also provides a resize method.

Enough to get started.

Community
  • 1
  • 1
frequent
  • 27,643
  • 59
  • 181
  • 333