# resize-base64

> A function that resizes a base64 image

Latest version **1.0.12** (published 2016-12-27) · ISC license · 0 weekly downloads

## Install

```sh
npm install resize-base64
pnpm add resize-base64
yarn add resize-base64
bun add resize-base64
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.12 |
| Published | 2016-12-27 |
| First published | 2016-12-23 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Daniel Izhar |
| Maintainers | dizhar888 |
| Keywords | resize, base64, image, picture |

## Links

- npm: https://www.npmjs.com/package/resize-base64
- npm.io page: https://npm.io/package/resize-base64

## Dependencies (1)

- [create-readme](https://npm.io/package/create-readme.md) ^1.1.0

## Alternatives

- [exif-parser](https://npm.io/package/exif-parser.md) — 3.8M weekly downloads
- [vite-plugin-compression](https://npm.io/package/vite-plugin-compression.md) — 569.5K weekly downloads
- [pica](https://npm.io/package/pica.md) — 442.4K weekly downloads
- [@reportportal/client-javascript](https://npm.io/package/@reportportal/client-javascript.md) — 408.8K weekly downloads
- [@tldraw/state](https://npm.io/package/@tldraw/state.md) — 316.0K weekly downloads

## Recent versions

- 1.0.12 (latest) — 2016-12-27
- 1.0.10 — 2016-12-27
- 1.0.9 — 2016-12-24
- 1.0.8 — 2016-12-23
- 1.0.7 — 2016-12-23
- 1.0.6 — 2016-12-23
- 1.0.5 — 2016-12-23
- 1.0.4 — 2016-12-23
- 1.0.3 — 2016-12-23
- 1.0.2 — 2016-12-23
- 1.0.0 — 2016-12-23

## README

## 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); 

```

---
_Source: https://npm.io/package/resize-base64 · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
