ccorcos / meteor-clientside-image-manipulation

A clientside javascript library for manipulating images before uploading. Specifically, resizing and adjusting for image orientation.
43 stars 4 forks source link

Only Do Orientation #2

Closed digilord closed 9 years ago

digilord commented 9 years ago

Is it possible to ONLY do orientation correction with your library?

ccorcos commented 9 years ago

although kind of a hack, you could just pass in huge values for maxWidth and maxHeight.

https://github.com/ccorcos/meteor-clientside-image-manipulation/blob/master/lib/processImage.coffee#L41

It would be a good idea to make maxWidth and maxHeight optional parameters.

ccorcos commented 9 years ago

There you go brutha.

https://github.com/ccorcos/meteor-clientside-image-manipulation/commit/973a8d684b5ed446f5bf6c3c933486323b33ef9b