Source

gd-libgd / examples / crop.c

Author Commit Message Labels Comments Date
Pierre Joye
avoid non init'ed im if no png support
Pierre Joye
fix examples build
pierrejoye
- apply same CS everywhere
pajoye
- #136, update the threshold crop to use color distance in the rgb cube (3d distance) and normalize the threshold level from 0..1.0
pajoye
- wrong comment, copy/paste evilness
pajoye
- nuke unused variables
pajoye
- #136 add crop image support - gdImageCrop, gdImageAutoCrop and gdImageThresholdCrop - add gdRect struct to define a rectangle area at position (x,y) with a given width and height