PHP based image transformer