User Contributed Notes 1 note

Setting the interpolation does not carry through to any images created by imageaffine() or imagerotate(). It defaults to IMG_BILINEAR_FIXED and would need to be set on each generated image as required.

// Similar to starting Image although it may still show a background or be on a slight angle.imagesetinterpolation( $image, IMG_NEAREST_NEIGHBOUR );$rotated = imagerotate( $image, -360, $transparent );?>