UNPKG
ico-utils
Version:
latest (0.1.5)
0.1.5
0.1.4
0.1.2
A javascript library to create ICO file from PNG images and extract PNG images from ICO file.
ico-utils
/
dist
/
helpers
/
binaryConverter.d.ts
4 lines
(3 loc)
•
196 B
TypeScript
View Raw
1
2
3
4
import
{
InputImage
}
from
'../types.js'
;
export
declare
function
getBlob
(
image
:
InputImage
,
mime
?:
string
):
Blob
;
export
declare
function
getArrayBuffer
(
image
:
InputImage
):
Promise
<
ArrayBuffer
>;