note 10665 added to ImageCreateFromGIF

From: Date: Tue, 16 Jan 2001 12:08:54 +0000
Subject: note 10665 added to ImageCreateFromGIF
Groups: php.notes 
Request: Send a blank email to php-notes+get-9839@lists.php.net to get a copy of this message
Note: Latest php4.0.4pl1 doesn't have the hooks for GIF socket reading altough the above mentioned gd-patched version provides gdImageCreateFromGifCtx. Search in ext/gd/gd.c for #ifndef USE_GD_IOCTX and add #define gdImageCreateFromGifCtx NULL and replace _php_image_create_from(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_GDIMG_TYPE_GIF, "GIF", gdImageCreateFromGif,NULL); with _php_image_create_from(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_GDIMG_TYPE_GIF, "GIF", gdImageCreateFromGif,gdImageCreateFromGifCtx); http://www.php.net/manual/en/function.imagecreatefromgif.php

« previous php.notes (#9839) next »