JSPM

mrp-bmp565

1.0.4
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 5
  • Score
    100M100P100Q30436F
  • License ISC

Package Exports

  • mrp-bmp565

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (mrp-bmp565) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

MRP-BMP565

用于处理mrp中的bmp565格式的图片,将rgb565格式处理成常规的24位颜色位图。

使用

import fs from 'fs'
import { decode } from 'mrp-bmp565'

const result = decode(fs.readFileSync('<mrp bmp filepath>'))
console.log(result)