https://github.com/awran5/react-base64-image-encoding
Free online base64 encoding support JPG, JPEG, PNG, GIF, WebP, BMP, SVG formats (max. 1 MB).
https://github.com/awran5/react-base64-image-encoding
base64-encoding react typescript
Last synced: 11 months ago
JSON representation
Free online base64 encoding support JPG, JPEG, PNG, GIF, WebP, BMP, SVG formats (max. 1 MB).
- Host: GitHub
- URL: https://github.com/awran5/react-base64-image-encoding
- Owner: awran5
- License: mit
- Created: 2021-05-25T17:12:12.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-11-10T18:32:24.000Z (over 3 years ago)
- Last Synced: 2024-10-12T10:04:24.172Z (over 1 year ago)
- Topics: base64-encoding, react, typescript
- Language: TypeScript
- Homepage: https://react-base64.vercel.app/
- Size: 513 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# React base64-image Encoding
Free online base64 encoding support JPG, JPEG, PNG, GIF, WebP, BMP, SVG formats (max. 1 MB).
🤔 Base64 encoded images are good for tiny images, small icons, logos in emails, other than that, using base64 images might actually kill your [performance](https://bunny.net/blog/why-optimizing-your-images-with-base64-is-almost-always-a-bad-idea/).
### Instructions
- Download or clone the repo:
```
git clone https://github.com/awran5/react-base64-image-encoding.git
```
## Install
```bash
# npm
> cd react-base64-image-encoding
> npm install
# Yarn
> cd react-base64-image-encoding
> yarn
```
### [Live](https://react-base64.vercel.app/)