Replace png encode dependency with optimized CRC32 calculation

This commit is contained in:
Cohee
2025-04-08 21:50:33 +03:00
parent 5929d5c0e4
commit ba397fa70a
4 changed files with 88 additions and 28 deletions

View File

@ -1,7 +1,7 @@
import fs from 'node:fs';
import { Buffer } from 'node:buffer';
import encode from 'png-chunks-encode';
import encode from './png/encode.js';
import extract from 'png-chunks-extract';
import PNGtext from 'png-chunk-text';