Preparing search index...
The search index is not available
png-compressor
png-compressor
compress
compress
Function compress
compress
(
buffer
,
compressionFormat
?
)
:
Promise
<
ArrayBuffer
>
Compress array buffer
Parameters
buffer
:
ArrayBuffer
compressionFormat
:
CompressionFormat
= defaultCompressionFormat
Returns
Promise
<
ArrayBuffer
>
Settings
Theme
OS
Light
Dark
png-
compressor
compress
Compression
Format
default
Compression
Format
compress
decompress
decompress
As
Array
Buffer
decompress
As
String
decode
encode
file
image
json-
array-
buffer
png
Generated using
TypeDoc
Compress array buffer