Brunobkr/llama.cpp_AlgMor24_github
ΩFFFΣLLIa • llama.cpp • AlgMor24 ██████╗ ███████╗███████╗███████╗██╗ ██╗ ██╗ █████╗ ██╔═══██╗██╔════╝██╔════╝██╔════╝██║ ██║ ██║██╔══██╗ ██║ ██║█████╗ █████╗ █████╗ ██║ ██║ ██║███████║ ██║ ██║██╔══╝ ██╔══╝ ██╔══╝ ██║ ██║ ██║██╔══██║ ╚██████╔╝██║ ██║ ███████╗███████╗███████╗██║██║ ██║ ╚═════╝ ╚═╝ ╚═╝ ╚══════╝╚══════╝╚══════╝╚═╝╚═╝ ╚═╝ High-Performance LLM / VLM Inference & Autonomous Agentic Ecosystem… See the full description on the dataset page: https://huggingface.co/datasets/Brunobkr/llama.cpp_AlgMor24_github.
03.1k
1# Decode BMP2 3Decode `.bmp` images4 5## Installation6 7```sh8npm install --save decode-bmp9```10 11## Usage12 13```js14const decodeBmp = require('decode-bmp')15const fs = require('fs')16 17const source = fs.readFileSync('foobar.bmp')18const image = decodeBmp(source)19 20console.log(image)21//=> { width: 32, height: 32, data: Uint8ClampedArray(...), colorDepth: 32 }22```23 24## API25 26### `decodeBmp(source: ArrayBuffer | Buffer) => ImageData`27 28Decodes the `.bmp` file in the given buffer, and returns an image.29 30The image has the following properties:31 32- `width: number` - The width of the image, in pixels33- `height: number` - The height of the image, in pixels34- `data: Uint8ClampedArray` - The data of the image, in the `RGBA` format35- `colorDepth: number` - The color depth of the image as the number of bits used per pixel36 