detect WebP support by GD