Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix: Update imagekit crop options and add crop mode#158

Merged
ascorbic merged 1 commit into
ascorbic:mainfrom
jenky:feat/update-imagekit-types
Jan 31, 2025
Merged

fix: Update imagekit crop options and add crop mode#158
ascorbic merged 1 commit into
ascorbic:mainfrom
jenky:feat/update-imagekit-types

Conversation

@jenky

@jenky jenky commented Jan 31, 2025

Copy link
Copy Markdown
Contributor

According to the document at https://imagekit.io/docs/image-resize-and-crop#crop-crop-modes--focus

  • extract and pad_resize are now prefixed with cm- instead of c-. It also have a new value cm-pad_extract
  • Additionally, crop has a new value c-at_max_enlarge

@jenky jenky changed the title Update imagekit crop options and add crop mode fix: Update imagekit crop options and add crop mode Jan 31, 2025

@ascorbic ascorbic left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Looks good

@ascorbic ascorbic merged commit 537ee24 into ascorbic:main Jan 31, 2025
@mixie-bot mixie-bot Bot mentioned this pull request Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants