Skip to main content

Supported Operations

go-dims supports a variety of image transformation operations that can be chained together in the URL path. Below is a quick index โ€” click any operation to learn more.

๐Ÿ“ Transformationsโ€‹

OperationDescription
resizeResize image dimensions
cropCrop to specific region
thumbnailFit within bounding box (smart crop)
flipflopFlip horizontally and vertically
rotateRotate by degrees

๐ŸŽจ Adjustmentsโ€‹

OperationDescription
brightnessAdjust brightness
autolevelAuto-level contrast
sharpenApply sharpening filter
grayscaleConvert to grayscale
invertInvert colors

๐Ÿงพ Output Optionsโ€‹

OperationDescription
formatSet output format (jpg, png, etc.)
qualityAdjust compression quality
stripStrip metadata

๐Ÿ’ง Specialโ€‹

OperationDescription
watermarkOverlay a watermark

Want to learn more? Click any operation above to view usage examples, parameter options, and gotchas.