Releases: fiahfy/ico
Releases · fiahfy/ico
v0.0.4
Breaking Changes
- Required named export.
// before
import Ico from '@fiahfy/ico'
// after
import { Ico } from '@fiahfy/ico'
- Create the instance from the buffer.
// before
const ico = new Ico(buf)
// after
const ico = Ico.from(buf)
- Add the image to ico instance.
// before
await ico.appendImage(buf)
// after
const image = IcoImage.fromPNG(buf)
ico.append(image)