PHP script for resize gif image file with support animation and transparency