@@ -4306,6 +4306,14 @@ type TransformationParam struct {
43064306 // expression like `ih_div_20_FF00FF`. See
43074307 // [Border](https://imagekit.io/docs/effects-and-enhancements#border---b).
43084308 Border param.Opt [string ] `json:"border,omitzero"`
4309+ // Applies a color tint to the image. Accepts color and intensity as optional
4310+ // parameters.
4311+ //
4312+ // - `co-color` - Color to apply (e.g., `red`, `blue`, `FF0022`). Default is gray
4313+ // color.
4314+ // - `in-intensity` - Intensity of the color (0-100). Default is 35. See
4315+ // [Colorize](https://imagekit.io/docs/effects-and-enhancements#colorize---e-colorize).
4316+ Colorize param.Opt [string ] `json:"colorize,omitzero"`
43094317 // Indicates whether the output image should retain the original color profile. See
43104318 // [Color profile](https://imagekit.io/docs/image-optimization#color-profile---cp).
43114319 ColorProfile param.Opt [bool ] `json:"colorProfile,omitzero"`
@@ -4438,12 +4446,14 @@ type TransformationParam struct {
44384446 // Crop modes for image resizing. See
44394447 // [Crop modes & focus](https://imagekit.io/docs/image-resize-and-crop#crop-crop-modes--focus).
44404448 //
4441- // Any of "force", "at_max", "at_max_enlarge", "at_least", "maintain_ratio".
4449+ // Any of "force", "at_max", "at_max_enlarge", "at_least", "maintain_ratio",
4450+ // "maintain_ratio_no_enlarge".
44424451 Crop TransformationCrop `json:"crop,omitzero"`
44434452 // Additional crop modes for image resizing. See
44444453 // [Crop modes & focus](https://imagekit.io/docs/image-resize-and-crop#crop-crop-modes--focus).
44454454 //
4446- // Any of "pad_resize", "extract", "pad_extract".
4455+ // Any of "pad_resize", "extract", "pad_extract", "pad_resize_no_enlarge",
4456+ // "pad_extract_no_shrink".
44474457 CropMode TransformationCropMode `json:"cropMode,omitzero"`
44484458 // Specifies the duration (in seconds) for trimming videos, e.g., `5` or `10.5`.
44494459 // Typically used with startOffset to indicate the length from the start offset.
@@ -4669,21 +4679,24 @@ const (
46694679type TransformationCrop string
46704680
46714681const (
4672- TransformationCropForce TransformationCrop = "force"
4673- TransformationCropAtMax TransformationCrop = "at_max"
4674- TransformationCropAtMaxEnlarge TransformationCrop = "at_max_enlarge"
4675- TransformationCropAtLeast TransformationCrop = "at_least"
4676- TransformationCropMaintainRatio TransformationCrop = "maintain_ratio"
4682+ TransformationCropForce TransformationCrop = "force"
4683+ TransformationCropAtMax TransformationCrop = "at_max"
4684+ TransformationCropAtMaxEnlarge TransformationCrop = "at_max_enlarge"
4685+ TransformationCropAtLeast TransformationCrop = "at_least"
4686+ TransformationCropMaintainRatio TransformationCrop = "maintain_ratio"
4687+ TransformationCropMaintainRatioNoEnlarge TransformationCrop = "maintain_ratio_no_enlarge"
46774688)
46784689
46794690// Additional crop modes for image resizing. See
46804691// [Crop modes & focus](https://imagekit.io/docs/image-resize-and-crop#crop-crop-modes--focus).
46814692type TransformationCropMode string
46824693
46834694const (
4684- TransformationCropModePadResize TransformationCropMode = "pad_resize"
4685- TransformationCropModeExtract TransformationCropMode = "extract"
4686- TransformationCropModePadExtract TransformationCropMode = "pad_extract"
4695+ TransformationCropModePadResize TransformationCropMode = "pad_resize"
4696+ TransformationCropModeExtract TransformationCropMode = "extract"
4697+ TransformationCropModePadExtract TransformationCropMode = "pad_extract"
4698+ TransformationCropModePadResizeNoEnlarge TransformationCropMode = "pad_resize_no_enlarge"
4699+ TransformationCropModePadExtractNoShrink TransformationCropMode = "pad_extract_no_shrink"
46874700)
46884701
46894702// Only one field can be non-zero.
0 commit comments