1.0.12 • Published 9 years ago

resize-base64 v1.0.12

Weekly downloads
1,822
License
ISC
Repository
-
Last release
9 years ago

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. This package will not work on the server side. Consider installing browsify or webpack to

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?

npm install resize-base64 --save

For npm
var resizebase64 = require('resize-base64');  

var  img = resizebase64(base64, maxWidth, maxHeight); 
1.0.12

9 years ago

1.0.11

9 years ago

1.0.10

9 years ago

1.0.9

9 years ago

1.0.8

9 years ago

1.0.7

9 years ago

1.0.6

9 years ago

1.0.5

9 years ago

1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.0

9 years ago