- Add supported icon types.
is32
il32
ih32
it32
s8mk
l8mk
h8mk
t8mk
ic04
ic05
icp4
icp5
icp6
Breaking Changes
- Required named export.
// before
import Icns from '@fiahfy/icns'
// after
import { Icns } from '@fiahfy/icns'
- Create the instance from the buffer.
// before
const icns = new Icns(buf)
// after
const icns = Icns.from(buf)
- Add the image to icns instance.
// before
await icns.appendImage(buf, 'ic10')
// after
const image = IcnsImage.fromPNG(buf, 'ic10')
icns.append(image)