sharpen method

void sharpen(
  1. int amount,
  2. int radius,
  3. int threshold
)

The frame parameter fetches the first frame from an animated GIF (Graphics Interchange Format) file that comprises a sequence of moving images. increase the sharpness of a given image by amount, radius and threshold For more details, Read documentation: https://www.contentstack.com/docs/developers/apis/image-delivery-api/#sharpen

Example:

final stack = contentstack.Stack(apiKey, deliveryToken, environment);
final imageTransformation = stack.imageTransform(imageUrl);
final response = await imageTransformation.sharpen(5, 1000, 2').fetch();

Implementation

void sharpen(int amount, int radius, int threshold) {
  query.append('sharpen', 'a$amount,r$radius,t$threshold');
}