Skip to content

v0.8.0

Latest
Compare
Choose a tag to compare
@fityannugroho fityannugroho released this 27 Jul 13:39
· 20 commits to main since this release
441300d

What's Changed

BREAKING CHANGES!

#32 by @fityannugroho :

  • options.name and options.directory now can contain extension
  • Ensure the originalExtension is an image extension, throw error if not
  • options.extension now must be one of supported image extension by sharp, throw error if not
  • Use sharp to actually convert the image format if options.extension specified
  • image.directory now always return absolute path of the output directory

Full Changelog: v0.7.4...v0.8.0