chore: add mobile app

This commit is contained in:
2026-02-07 22:33:02 +01:00
parent db34640acc
commit e89384ad4e
29327 changed files with 3886944 additions and 12 deletions
+29
View File
@@ -0,0 +1,29 @@
/// <reference types="node"/>
import {Metadata, PNG, PNGOptions} from 'pngjs';
/**
Parse a PNG.
@param buffer - A PNG image buffer.
@param options - See the [pngjs options](https://github.com/lukeapage/pngjs#options).
@returns The parsed PNG image.
@example
```
import * as fs from 'fs';
import parsePng = require('parse-png');
(async () => {
const png = await parsePng(fs.readFileSync('unicorn.png'));
png.adjustGamma();
png.pack().pipe(fs.createWriteStream('unicorn-adjusted.png'));
})();
```
*/
declare function parsePng(
buffer: Buffer,
options?: PNGOptions
): Promise<PNG & Metadata>;
export = parsePng;