Registry / utility / oliamb-cutter

oliamb-cutter

JSON →
library0.2.2gogounverified

Package cutter provides a function to crop images in Go.

go get github.com/oliamb/cutter
INSTALL
IMPORT
SIG · OLIAMB-CUTTER
O
oliamb-cutter
utilitygov0.2.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

cutter
github.com/oliamb/cutter

Crop an image to 50x50 pixels

package main import ( "image" "github.com/oliamb/cutter" ) func main() { src := image.NewRGBA(image.Rect(0, 0, 100, 100)) cropped, err := cutter.Crop(src, cutter.Config{Width: 50, Height: 50}) if err != nil { panic(err) } _ = cropped }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.2latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
oliamb-cutter — go get oliamb-cutter · libregistry