Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/docs/src/content/docs/guides/migrate-to-v1.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ const image = new Jimp({ width: 100, height: 100, color: 0xff0000ff });
### `Jimp.read`

In v0 of jimp the constructor was async!
This is a huge anit-pattern so it had to go.
This is a huge anti-pattern so it had to go.

Now you should instead use the `Jimp.read` method.

Expand Down Expand Up @@ -181,4 +181,4 @@ JimpMime.jpeg;
- `Jimp.intToRGBA` was moved `import { intToRGBA } from "jimp";`
- `image.getHeight()` was moved `image.height`
- `image.getWidth()` was moved `image.width`
- `image.getMIME()` was moved `image.mime`
- `image.getMIME()` was moved `image.mime`