Configurable image type and quality
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