Skip to content

Latest commit

 

History

History
21 lines (10 loc) · 514 Bytes

README.md

File metadata and controls

21 lines (10 loc) · 514 Bytes

When passing an image base64 as first argument to the function, it returns the base64 of the resized image. maxWidth and maxHeight are optional.

Note: This is a font-end package.

What is it for?

If you have a base64 image and you would like to resize it, this function will return a base64 image resizes to your height and width specifications.

How do I install it?

bower install resize-base64 --save

To use
var image = resizebase64(base64, maxWidth, maxHeight);