[PHP]photo convert

is it possible to use php to convert a photo (jpg img) to black and white…?