Customize your content delivery.
Protect your services and applications.
Experiment with Fastly's edge computing platform.
Go from zero to Fastly with these step-by-step guides and tutorials.
Start with the basics and learn how Fastly lets you take advantage of the modern internet.
Find out how Fastly services interoperate with non-Fastly services.
Step-by-step guides to developing with Fastly
Discover how Fastly can enhance your user experience.
Get solutions to specific problems with curated topics.
Try out Fastly code in the browser and easily remix it for your own project.
Start developing your project immediately with Fastly from a functional template.
compute-sdk-go v1.11.0
type Crop struct { Size Area Position *Position Mode CropMode}
Crop removes pixels from an image.
Size is the desired width and height.
Position is the offset for determining the starting position of the cropped region.
Mode is the crop mode to use.
func (c *Crop) String() string
Returns