Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/ShyykoSerhiy/canvas-png-compression
/ functions
Functions
43 in github.com/ShyykoSerhiy/canvas-png-compression
⨍
Functions
43
◇
Types & classes
15
↓ 5 callers
Method
_writeAsBigEndian
(arr: Uint8Array, value: number, startIndex: number)
src/PngWriter.ts:128
↓ 5 callers
Method
_writeAsBigEndian
(arr, value, startIndex)
built/PngWriter.js:113
↓ 3 callers
Method
_writeChunk
(type: number, /*nullable*/data: Uint8Array)
src/PngWriter.ts:113
↓ 3 callers
Method
_writeChunk
(type, /*nullable*/ data)
built/PngWriter.js:100
↓ 3 callers
Method
copy
(from: Uint8Array | number[], to: Uint8Array, toStartIndex: number, length?: number, fromStartPos?: number)
src/PngWriter.ts:135
↓ 3 callers
Method
copy
(from, to, toStartIndex, length, fromStartPos)
built/PngWriter.js:119
↓ 2 callers
Function
paethPredictor
* http://www.w3.org/TR/PNG-Filters.html * 6. Filter Algorithms * * This chapter describes the filter algorithms that can be applied before compres
src/Filter.ts:122
↓ 2 callers
Function
paethPredictor
* http://www.w3.org/TR/PNG-Filters.html * 6. Filter Algorithms * * This chapter describes the filter algorithms that can be applied before compres
built/Filter.js:120
↓ 1 callers
Method
bytesToBase64
(type: string, buffer: Uint8Array)
src/Base64Writer.ts:2
↓ 1 callers
Method
bytesToBase64
(type, buffer)
built/Base64Writer.js:2
↓ 1 callers
Function
filter
(imageData: ImageData)
src/Filter.ts:259
↓ 1 callers
Function
filter
(imageData)
built/Filter.js:234
↓ 1 callers
Method
write
(imageData: ImageData, options?: PakoOptions)
src/PngWriter.ts:12
↓ 1 callers
Method
write
(imageData, options)
built/PngWriter.js:5
↓ 1 callers
Method
writeIDATChunk
* Creates IDAT chunk.
src/PngWriter.ts:79
↓ 1 callers
Method
writeIDATChunk
* Creates IDAT chunk.
built/PngWriter.js:69
↓ 1 callers
Method
writeIENDChunk
* Creates IEND chunk.
src/PngWriter.ts:86
↓ 1 callers
Method
writeIENDChunk
* Creates IEND chunk.
built/PngWriter.js:75
↓ 1 callers
Method
writeIHDRChunk
* Creates IHDR chunk (image dimensions, color depth, compression method, etc.) * @param width of png image * @param height of png image
src/PngWriter.ts:63
↓ 1 callers
Method
writeIHDRChunk
* Creates IHDR chunk (image dimensions, color depth, compression method, etc.) * @param width of png image * @param height of png image
built/PngWriter.js:55
Method
'default'
(crc: number, buf: Uint8Array, len: number, pos: number)
typings/tsd.d.ts:6
Method
_filterData
* Filters data with no filtering * @param width width of image * @param height height of image * @deprecated
src/PngWriter.ts:96
Method
_filterData
* Filters data with no filtering * @param width width of image * @param height height of image * @deprecated
built/PngWriter.js:84
Function
filterAvg
(fromData: Uint8Array, fromPos: number, byteWidth: number, filteredData: Uint8Array, filteredPos: number, bpp:
src/Filter.ts:186
Function
filterAvg
(fromData, fromPos, byteWidth, filteredData, filteredPos, bpp)
built/Filter.js:175
Function
filterNone
(fromData: Uint8Array, fromPos: number, byteWidth: number, filteredData: Uint8Array, filteredPos: number)
src/Filter.ts:136
Function
filterNone
(fromData, fromPos, byteWidth, filteredData, filteredPos)
built/Filter.js:133
Function
filterPaeth
(fromData: Uint8Array, fromPos: number, byteWidth: number, filteredData: Uint8Array, filteredPos: number, bpp:
src/Filter.ts:207
Function
filterPaeth
(fromData, fromPos, byteWidth, filteredData, filteredPos, bpp)
built/Filter.js:192
Function
filterSub
(fromData: Uint8Array, fromPos: number, byteWidth: number, filteredData: Uint8Array, filteredPos: number, bpp:
src/Filter.ts:149
Function
filterSub
(fromData, fromPos, byteWidth, filteredData, filteredPos, bpp)
built/Filter.js:144
Function
filterSumAvg
(fromData: Uint8Array, fromPos: number, byteWidth: number, bpp: number)
src/Filter.ts:195
Function
filterSumAvg
(fromData, fromPos, byteWidth, bpp)
built/Filter.js:182
Function
filterSumNone
(fromData: Uint8Array, fromPos: number, byteWidth: number)
src/Filter.ts:140
Function
filterSumNone
(fromData, fromPos, byteWidth)
built/Filter.js:136
Function
filterSumPaeth
(fromData: Uint8Array, fromPos: number, byteWidth: number, bpp: number)
src/Filter.ts:218
Function
filterSumPaeth
(fromData, fromPos, byteWidth, bpp)
built/Filter.js:200
Function
filterSumSub
(fromData: Uint8Array, fromPos: number, byteWidth: number, bpp: number)
src/Filter.ts:156
Function
filterSumSub
(fromData, fromPos, byteWidth, bpp)
built/Filter.js:150
Function
filterSumUp
(fromData: Uint8Array, fromPos: number, byteWidth: number)
src/Filter.ts:174
Function
filterSumUp
(fromData, fromPos, byteWidth)
built/Filter.js:165
Function
filterUp
(fromData: Uint8Array, fromPos: number, byteWidth: number, filteredData: Uint8Array, filteredPos: number)
src/Filter.ts:167
Function
filterUp
(fromData, fromPos, byteWidth, filteredData, filteredPos)
built/Filter.js:159