1.0.7 • Published 3 years ago

image-size-from-base64 v1.0.7

Weekly downloads
-
License
-
Repository
-
Last release
3 years ago

image-size-from-base64

My website: click here

Features

  • Get file image size from base64 string return to kb

Example

const getSize = require("image-size-from-base64")

let base64ImageData = `iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAY ...`

async function imageSize() {
    let size = await getSize(base64ImageData)

    console.log(size) // kb (Kilobyte)
}

imageSize()
1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago