Skip to content

Configurable image type and quality

Compare
Choose a tag to compare
@neg4n neg4n released this 06 Apr 04:08
· 22 commits to main since this release
bcfe8e7

BREAKING CHANGE:

Removed contentType option in next-api-og-image configuration object. From now on, the type property is its successor. Available values for it are: png, webp, jpeg.

If type is set to jpeg (works only for this particular type!!), the quality option can be set. If the type will be different than jpeg, the quality option will simply do nothing.

Full Changelog: 2.2.1...3.0.0