1.0.7 • Published 5 years ago

image-size-from-base64 v1.0.7

Weekly downloads
-
License
-
Repository
-
Last release
5 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

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago