- 37개 파일 IP → zioinfo.co.kr 치환 (소스/매뉴얼/설정/하네스) - Manager DrConsole/NetworkConsole/CsapConsole 빌드 + /var/www/manager/ 배포 - 테스트: Manager HTTP 200, ITSM 신규 API 7개 전체 200 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
30 lines
620 B
TypeScript
30 lines
620 B
TypeScript
/// <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;
|