cvs: pear /PECL/imagick CREDITS EXPERIMENTAL INSTALL Makefile.in config.m4 imagick.c imagick.php package.xml php_imagick.h /PECL/imagick/doc
funcref.html function.imagick-convert.html function.imagick-create.html function.imagick-crop.html function.imagick-dump.html
function.imagick-free.html function.imagick-get-attribute.html function.imagick-morph.html function.imagick-read.html function.imagick-resize.html
function.imagick-rotate.html function.imagick-sample.html function.imagick-set-attribute.html function.imagick-shear.html function.imagick-write.html
function.list-magickinfo.html ref.imagick.html /PECL/imagick/xml imagick.xml

From: Date: Thu, 22 Nov 2001 17:25:09 +0000
Subject: cvs: pear /PECL/imagick CREDITS EXPERIMENTAL INSTALL Makefile.in config.m4 imagick.c imagick.php package.xml php_imagick.h /PECL/imagick/doc
funcref.html function.imagick-convert.html function.imagick-create.html function.imagick-crop.html function.imagick-dump.html
function.imagick-free.html function.imagick-get-attribute.html function.imagick-morph.html function.imagick-read.html function.imagick-resize.html
function.imagick-rotate.html function.imagick-sample.html function.imagick-set-attribute.html function.imagick-shear.html function.imagick-write.html
function.list-magickinfo.html ref.imagick.html /PECL/imagick/xml imagick.xml
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-1392@lists.php.net to get a copy of this message
chregu Thu Nov 22 12:25:09 2001 EDT Added files: /pear/PECL/imagick CREDITS EXPERIMENTAL INSTALL Makefile.in config.m4 imagick.c imagick.php package.xml php_imagick.h /pear/PECL/imagick/doc funcref.html function.imagick-convert.html function.imagick-create.html function.imagick-crop.html function.imagick-dump.html function.imagick-free.html function.imagick-get-attribute.html function.imagick-morph.html function.imagick-read.html function.imagick-resize.html function.imagick-rotate.html function.imagick-sample.html function.imagick-set-attribute.html function.imagick-shear.html function.imagick-write.html function.list-magickinfo.html ref.imagick.html /pear/PECL/imagick/xml imagick.xml Log: first release on pear/pecl of ext/imagick. see http://php.chregu.tv/imagick for details about this extension

Index: pear/PECL/imagick/Makefile.in +++ pear/PECL/imagick/Makefile.in # $Id: Makefile.in,v 1.1 2001/11/22 17:25:08 chregu Exp $ LTLIBRARY_NAME = libimagick.la LTLIBRARY_SOURCES = imagick.c LTLIBRARY_SHARED_NAME = imagick.la LTLIBRARY_SHARED_LIBADD = $(IMAGICK_SHARED_LIBADD) -lMagick include $(top_srcdir)/build/dynlib.mk Index: pear/PECL/imagick/config.m4 +++ pear/PECL/imagick/config.m4 dnl $Id: config.m4,v 1.1 2001/11/22 17:25:08 chregu Exp $ dnl config.m4 for extension imagick dnl Comments in this file start with the string 'dnl'. dnl Remove where necessary. This file will not work dnl without editing. dnl If your extension references something external, use with: PHP_ARG_WITH(imagick, for imagick support, Make sure that the comment is aligned: [ --with-imagick Include imagick support]) dnl Otherwise use enable: dnl PHP_ARG_ENABLE(imagick, whether to enable imagick support, dnl Make sure that the comment is aligned: dnl [ --enable-imagick Enable imagick support]) if test "$PHP_IMAGICK" != "no"; then dnl Write more examples of tests here... PHP_ADD_LIBRARY(Magick) dnl # --with-imagick -> check with-path dnl SEARCH_PATH="/usr/local /usr" # you might want to change this dnl SEARCH_FOR="/include/magick.h" # you most likely want to change this dnl if test -r $PHP_imagick/$SEARCH_FOR; then # path given as parameter dnl imagick_DIR=$PHP_imagick dnl else # search default path list dnl AC_MSG_CHECKING([for imagick files in default path]) dnl for i in $SEARCH_PATH ; do dnl if test -r $i/$SEARCH_FOR; then dnl imagick_DIR=$i dnl AC_MSG_RESULT(found in $i) dnl fi dnl done dnl fi dnl dnl if test -z "$imagick_DIR"; then dnl AC_MSG_RESULT([not found]) dnl AC_MSG_ERROR([Please reinstall the imagick distribution]) dnl fi dnl # --with-imagick -> add include path dnl PHP_ADD_INCLUDE($imagick_DIR/include) dnl # --with-imagick -> chech for lib and symbol presence dnl LIBNAME=imagick # you may want to change this dnl LIBSYMBOL=imagick # you most likely want to change this dnl old_LIBS=$LIBS dnl LIBS="$LIBS -L$imagick_DIR/lib -lm -ldl" dnl AC_CHECK_LIB($LIBNAME, $LIBSYMBOL, [AC_DEFINE(HAVE_imagick_LIB,1,[ ])], dnl [AC_MSG_ERROR([wrong imagick lib version or lib not found])]) dnl LIBS=$old_LIBS dnl dnl PHP_SUBST(imagick_SHARED_LIBADD) dnl PHP_ADD_LIBRARY_WITH_PATH($LIBNAME, $imagick_DIR/lib, imagick_SHARED_LIBADD) PHP_EXTENSION(imagick, $ext_shared) fi Index: pear/PECL/imagick/imagick.c +++ pear/PECL/imagick/imagick.c /* +----------------------------------------------------------------------+ | PHP version 4.0 | +----------------------------------------------------------------------+ | Copyright (c) 1997, 1998, 1999, 2000, 2001 The PHP Group | +----------------------------------------------------------------------+ | This source file is subject to version 2.02 of the PHP license, | | that is bundled with this package in the file LICENSE, and is | | available at through the world-wide-web at | | http://www.php.net/license/2_02.txt. | | If you did not receive a copy of the PHP license and are unable to | | obtain it through the world-wide-web, please send a note to | | license@php.net so we can mail you a copy immediately. | +----------------------------------------------------------------------+ | Authors: Christian Stocker <chregu@bitflux.ch> | | | +----------------------------------------------------------------------+ */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include "php.h" #include "php_ini.h" #include "ext/standard/info.h" #include "php_imagick.h" /* If you declare any globals in php_imagick.h uncomment this: */ ZEND_DECLARE_MODULE_GLOBALS(imagick) /* True global resources - no need for thread safety here */ static int le_imagick; /* {{{ imagick_functions[] * * Every user visible function must have an entry in imagick_functions[]. */ function_entry imagick_functions[] = { PHP_FE(imagick_new, NULL) PHP_FE(imagick_read, NULL) PHP_FE(imagick_sample, NULL) PHP_FE(imagick_resize, NULL) PHP_FE(imagick_crop, NULL) PHP_FE(imagick_shear, NULL) PHP_FE(imagick_rotate, NULL) PHP_FE(imagick_oilpaint, NULL) PHP_FE(imagick_morph, NULL) PHP_FE(imagick_write, NULL) PHP_FE(imagick_list_magickinfo, NULL) PHP_FE(imagick_dump, NULL) PHP_FE(imagick_convert, NULL) PHP_FE(imagick_set_attribute, NULL) PHP_FE(imagick_get_attribute, NULL) PHP_FE(imagick_free, NULL) PHP_FALIAS(imagick_create, imagick_new, NULL) {NULL, NULL, NULL} /* Must be the last line in imagick_functions[] */ }; /* }}} */ /* {{{ imagick_module_entry */ zend_module_entry imagick_module_entry = { STANDARD_MODULE_HEADER, "imagick", imagick_functions, PHP_MINIT(imagick), PHP_MSHUTDOWN(imagick), PHP_RINIT(imagick), /* Replace with NULL if there's nothing to do at request start */ PHP_RSHUTDOWN(imagick), /* Replace with NULL if there's nothing to do at request end */ PHP_MINFO(imagick), NO_VERSION_YET, STANDARD_MODULE_PROPERTIES }; /* }}} */ #ifdef COMPILE_DL_IMAGICK ZEND_GET_MODULE(imagick) #endif /* {{{ PHP_INI */ /* Remove comments and fill if you need to have entries in php.ini PHP_INI_BEGIN() STD_PHP_INI_ENTRY("imagick.global_value", "42", PHP_INI_ALL, OnUpdateInt, global_value, zend_imagick_globals, imagick_globals) STD_PHP_INI_ENTRY("imagick.global_string", "foobar", PHP_INI_ALL, OnUpdateString, global_string, zend_imagick_globals, imagick_globals) PHP_INI_END() */ /* }}} */ /* {{{ php_imagick_init_globals Uncomment this function if you have INI entries */ static void php_imagick_init_globals(zend_imagick_globals *imagick_globals) { } /* imagick_globals->value = 0; imagick_globals->string = NULL; */ /* }}} */ static void _php_imagick_free(php_imagick *handle) { if (handle->image) { DestroyImage(handle->image); } DestroyImageInfo(handle->info); efree(handle); } /* {{{ PHP_MINIT_FUNCTION */ PHP_MINIT_FUNCTION(imagick) { ZEND_INIT_MODULE_GLOBALS(imagick, php_imagick_init_globals, NULL); /* If you have INI entries, uncomment these lines REGISTER_INI_ENTRIES(); */ REGISTER_LONG_CONSTANT("IMAGICK_FILTER_UNDEFINED",0, CONST_CS | CONST_PERSISTENT); REGISTER_LONG_CONSTANT("IMAGICK_FILTER_POINT",1, CONST_CS | CONST_PERSISTENT); REGISTER_LONG_CONSTANT("IMAGICK_FILTER_BOX",2, CONST_CS | CONST_PERSISTENT); REGISTER_LONG_CONSTANT("IMAGICK_FILTER_TRIANGLE",3, CONST_CS | CONST_PERSISTENT); REGISTER_LONG_CONSTANT("IMAGICK_FILTER_HERMITE",4, CONST_CS | CONST_PERSISTENT); REGISTER_LONG_CONSTANT("IMAGICK_FILTER_HANNING",5, CONST_CS | CONST_PERSISTENT); REGISTER_LONG_CONSTANT("IMAGICK_FILTER_HAMMING",6, CONST_CS | CONST_PERSISTENT); REGISTER_LONG_CONSTANT("IMAGICK_FILTER_BLACKMAN",7, CONST_CS | CONST_PERSISTENT); REGISTER_LONG_CONSTANT("IMAGICK_FILTER_GAUSSIAN",8, CONST_CS | CONST_PERSISTENT); REGISTER_LONG_CONSTANT("IMAGICK_FILTER_QUADRATIC",9, CONST_CS | CONST_PERSISTENT); REGISTER_LONG_CONSTANT("IMAGICK_FILTER_CUBIC",10, CONST_CS | CONST_PERSISTENT); REGISTER_LONG_CONSTANT("IMAGICK_FILTER_CATROM",11, CONST_CS | CONST_PERSISTENT); REGISTER_LONG_CONSTANT("IMAGICK_FILTER_MITCHELL",12, CONST_CS | CONST_PERSISTENT); REGISTER_LONG_CONSTANT("IMAGICK_FILTER_LANCZOS",13, CONST_CS | CONST_PERSISTENT); REGISTER_LONG_CONSTANT("IMAGICK_FILTER_BESSEL",14, CONST_CS | CONST_PERSISTENT); REGISTER_LONG_CONSTANT("IMAGICK_FILTER_SINC",15, CONST_CS | CONST_PERSISTENT); le_imagick = register_list_destructors(_php_imagick_free,NULL); return SUCCESS; } /* }}} */ /* {{{ PHP_MSHUTDOWN_FUNCTION */ PHP_MSHUTDOWN_FUNCTION(imagick) { /* uncomment this line if you have INI entries UNREGISTER_INI_ENTRIES(); */ return SUCCESS; } /* }}} */ /* Remove if there's nothing to do at request start */ /* {{{ PHP_RINIT_FUNCTION */ PHP_RINIT_FUNCTION(imagick) { return SUCCESS; } /* }}} */ /* Remove if there's nothing to do at request end */ /* {{{ PHP_RSHUTDOWN_FUNCTION */ PHP_RSHUTDOWN_FUNCTION(imagick) { return SUCCESS; } /* }}} */ /* {{{ PHP_MINFO_FUNCTION */ PHP_MINFO_FUNCTION(imagick) { int *version; php_info_print_table_start(); php_info_print_table_header(2, "imagick support", "enabled"); php_info_print_table_row(2, "ImageMagickVersion", GetMagickVersion(version)); php_info_print_table_end(); /* Remove comments if you have entries in php.ini DISPLAY_INI_ENTRIES(); */ } /* }}} */ /* {{{ proto void imagick_free(resource handle) frees an imagick handle */ PHP_FUNCTION(imagick_free) { zval *arg; php_imagick *handle; int argc = ZEND_NUM_ARGS(); int id, type; if (zend_parse_parameters(argc TSRMLS_CC, "r", &arg) == FAILURE) return; id = Z_LVAL_P(arg); if (zend_list_find(id, &type) && type == le_imagick) zend_list_delete(id); } /* {{{ proto bool imagick_new() creates a new imagick-handle */ PHP_FUNCTION(imagick_new) { php_imagick *handle; handle = (php_imagick *)emalloc(sizeof(php_imagick)); if (!handle) { php_error(E_WARNING, "%s() couldn't allocate PHP-Magick handle", get_active_function_name(TSRMLS_C)); RETURN_FALSE; } memset(handle, 0, sizeof(php_imagick)); handle->info = CloneImageInfo((ImageInfo *) NULL);; ZEND_REGISTER_RESOURCE(return_value, handle, le_imagick); } /* {{{ proto bool imagick_read(resource handle, string infile) reads an image from a file */ PHP_FUNCTION(imagick_read) { zval *arg; zval *userdata; char *infile = NULL; int infile_len = 0; int argc = ZEND_NUM_ARGS(); php_imagick *handle; ExceptionInfo exception; Image *next_image; register Image *p; /* array stuff */ HashTable *target_hash; zval **entry; /* pointer to array entry */ if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, argc TSRMLS_CC, "rs", &arg, &infile, &infile_len) == SUCCESS) { /* only one filename as a string */ MAKE_STD_ZVAL(userdata); if (array_init(userdata) != SUCCESS) { php_error(E_ERROR,"%s() Problems with creating array",get_active_function_name(TSRMLS_C)); RETVAL_FALSE; return; } if (add_index_stringl(userdata,0,infile,infile_len,1) != SUCCESS) { php_error(E_ERROR,"%s() Problems with adding string to array",get_active_function_name(TSRMLS_C)); RETVAL_FALSE; return; } } else if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, argc TSRMLS_CC, "ra", &arg, &userdata) == SUCCESS) { /* one or more filename as an array */ } else { WRONG_PARAM_COUNT; return; } ZEND_FETCH_RESOURCE(handle, php_imagick *, &arg, -1, "imagick object", le_imagick); /*array stuff, i'm not very sure about that, since the docs are very mmmh... about that it's mostly copy&paste work from other sources */ /* Set up known arguments */ target_hash = HASH_OF(userdata); zend_hash_internal_pointer_reset(target_hash); /* Iterate through hash */ while(zend_hash_get_current_data(target_hash, (void **)&entry) == SUCCESS) { convert_to_string_ex(entry); strncpy( handle->info->filename, Z_STRVAL_PP(entry), MaxTextExtent-1 ); next_image=ReadImage(handle->info,&exception); if ( next_image == (Image *)NULL ) { php_error(E_ERROR,"%s() Problems with opening file %s: %s",get_active_function_name(TSRMLS_C),infile,exception.reason); RETVAL_FALSE; return; } if (handle->image == (Image *) NULL) handle->image=next_image; else { /* Link image into image list. */ for (p=handle->image; p->next != (Image *) NULL; p=p->next); next_image->previous=p; p->next=next_image; } zend_hash_move_forward(target_hash); } zval_dtor(userdata); FREE_ZVAL(userdata); } /* {{{ proto bool imagick_write(resource handle, string outfile) writes an image to the file with some imageformat */ PHP_FUNCTION(imagick_write) { zval *arg; char * outfile = NULL; int outfile_len = 0; /* char * outformat = NULL; int outformat_len = 0;*/ int er; int argc = ZEND_NUM_ARGS(); php_imagick *handle; register Image *p; long scene = 0; if (zend_parse_parameters(argc TSRMLS_CC, "rs", &arg, &outfile, &outfile_len) == FAILURE) return; /* if (zend_parse_parameters(argc TSRMLS_CC, "rs|s", &arg, &outfile, &outfile_len, &outformat, &outformat_len) == FAILURE) return;*/ ZEND_FETCH_RESOURCE(handle, php_imagick *, &arg, -1, "imagick object", le_imagick); /* strncpy( handle->image->filename, outfile, MaxTextExtent-1 ); if (outformat != NULL) { strncpy( handle->image->magick, outformat, MaxTextExtent-1 ); } */ (void) strncpy(handle->info->filename,outfile,MaxTextExtent-1); for (p=(handle->image); p != (Image *) NULL; p=p->next) { (void) strncpy(p->filename,outfile,MaxTextExtent-1); p->scene=scene++; } (void) SetImageInfo(handle->info,1,&(handle->image)->exception); for (p=(handle->image); p != (Image *) NULL; p=p->next) { er = WriteImage(handle->info,p); if ( er == 0 ) { php_error(E_ERROR,"%s() cannot save file %s: %s",get_active_function_name(TSRMLS_C), outfile,handle->image->exception.reason); RETVAL_FALSE; return; } if (handle->info->adjoin) break; } RETVAL_TRUE; } /* {{{ proto bool imagick_sample(resource handle, int columns, int rows) samples an image */ PHP_FUNCTION(imagick_sample) { zval *arg; int columns; int rows; int argc = ZEND_NUM_ARGS(); ExceptionInfo exception; php_imagick *handle; if (zend_parse_parameters(argc TSRMLS_CC, "rll", &arg, &columns, &rows) == FAILURE) return; ZEND_FETCH_RESOURCE(handle, php_imagick *, &arg, -1, "imagick object", le_imagick); GetExceptionInfo(&exception); handle->image = SampleImage(handle->image,columns,rows,&exception); if ( handle->image == (Image *)NULL ) { php_error(E_ERROR,"%s() error sampling image: %s",get_active_function_name(TSRMLS_C), exception.reason); RETVAL_FALSE; return; } } /* {{{ proto bool imagick_resize(resource handle, int columns, int rows, int filter, int blur) resizes an image with the method filter and the blurness blur */ PHP_FUNCTION(imagick_resize) { zval *arg; int columns; int rows; int argc = ZEND_NUM_ARGS(); int filter =13; /* IMAGICK_FILTER_LANCZOS */ double blur = 0; ExceptionInfo exception; php_imagick *handle; if (zend_parse_parameters(argc TSRMLS_CC, "rll|ld", &arg, &columns, &rows, &filter, &blur) == FAILURE) return; ZEND_FETCH_RESOURCE(handle, php_imagick *, &arg, -1, "imagick object", le_imagick); GetExceptionInfo(&exception); handle->image = ResizeImage(handle->image,columns,rows,filter,blur,&exception); if ( handle->image == (Image *)NULL ) { php_error(E_ERROR,"%s() error resizing image: %s",get_active_function_name(TSRMLS_C), exception.reason); RETVAL_FALSE; return; } RETVAL_TRUE; } /* {{{ proto bool imagick_crop(resource handle, int width, int height, int x, int y) crops an image */ PHP_FUNCTION(imagick_crop) { zval *arg; int width; int height; int x; int y; int argc = ZEND_NUM_ARGS(); RectangleInfo *rect; ExceptionInfo exception; php_imagick *handle; if (zend_parse_parameters(argc TSRMLS_CC, "rllll", &arg, &width, &height, &x, &y) == FAILURE) return; ZEND_FETCH_RESOURCE(handle, php_imagick *, &arg, -1, "imagick object", le_imagick); GetExceptionInfo(&exception); rect = (RectangleInfo *)emalloc(sizeof(RectangleInfo)); rect->width = width; rect->height = height; rect->x = x; rect->y = y; handle->image = CropImage(handle->image,rect,&exception); efree(rect); if ( handle->image == (Image *)NULL ) { php_error(E_ERROR,"%s() error croping image: %s",get_active_function_name(TSRMLS_C), exception.reason); RETVAL_FALSE; return; } RETVAL_TRUE; } /* {{{ proto bool imagick_rotate(resource handle, double degrees) crops an image */ PHP_FUNCTION(imagick_rotate) { zval *arg; double degrees; int argc = ZEND_NUM_ARGS(); ExceptionInfo exception; php_imagick *handle; if (zend_parse_parameters(argc TSRMLS_CC, "rd", &arg, &degrees) == FAILURE) return; ZEND_FETCH_RESOURCE(handle, php_imagick *, &arg, -1, "imagick object", le_imagick); GetExceptionInfo(&exception); handle->image = RotateImage(handle->image,degrees,&exception); if ( handle->image == (Image *)NULL ) { php_error(E_ERROR,"%s() error rotating image: %s",get_active_function_name(TSRMLS_C), exception.reason); RETVAL_FALSE; return; } RETVAL_TRUE; } /* {{{ proto bool imagick_shear(resource handle, double x_shear, double y_shear) crops an image */ PHP_FUNCTION(imagick_shear) { zval *arg; double x_shear; double y_shear; int argc = ZEND_NUM_ARGS(); ExceptionInfo exception; php_imagick *handle; if (zend_parse_parameters(argc TSRMLS_CC, "rdd", &arg, &x_shear, &y_shear) == FAILURE) return; ZEND_FETCH_RESOURCE(handle, php_imagick *, &arg, -1, "imagick object", le_imagick); GetExceptionInfo(&exception); handle->image = ShearImage(handle->image,x_shear,y_shear,&exception); if ( handle->image == (Image *)NULL ) { php_error(E_ERROR,"%s() error shearing image: %s",get_active_function_name(TSRMLS_C), exception.reason); RETVAL_FALSE; return; } RETVAL_TRUE; } /* {{{ proto bool imagick_oilpaint(resource handle, double radius) crops an image */ PHP_FUNCTION(imagick_oilpaint) { zval *arg; double radius; int argc = ZEND_NUM_ARGS(); ExceptionInfo exception; php_imagick *handle; if (zend_parse_parameters(argc TSRMLS_CC, "rd", &arg, &radius) == FAILURE) return; ZEND_FETCH_RESOURCE(handle, php_imagick *, &arg, -1, "imagick object", le_imagick); GetExceptionInfo(&exception); handle->image = OilPaintImage(handle->image,radius,&exception); if ( handle->image == (Image *)NULL ) { php_error(E_ERROR,"%s() error oilpainting image: %s",get_active_function_name(TSRMLS_C), exception.reason); RETVAL_FALSE; return; } RETVAL_TRUE; } /* {{{ proto bool imagick_morph(resource handle, int number_frames) crops an image */ PHP_FUNCTION(imagick_morph) { zval *arg; double radius; int argc = ZEND_NUM_ARGS(); ExceptionInfo exception; php_imagick *handle; if (zend_parse_parameters(argc TSRMLS_CC, "rd", &arg, &radius) == FAILURE) return; ZEND_FETCH_RESOURCE(handle, php_imagick *, &arg, -1, "imagick object", le_imagick); GetExceptionInfo(&exception); handle->image = MorphImages(handle->image,radius,&exception); if ( handle->image == (Image *)NULL ) { php_error(E_ERROR,"%s() error morphing image: %s",get_active_function_name(TSRMLS_C), exception.reason); RETVAL_FALSE; return; } RETVAL_TRUE; } /* {{{ proto void imagick_list_magickinfo(string filename) dumps all known imageformats to a file */ PHP_FUNCTION(imagick_list_magickinfo) { char *outfile = NULL; int outfile_len = 0; FILE *f; ExceptionInfo exception; int argc = ZEND_NUM_ARGS(); if (zend_parse_parameters(argc TSRMLS_CC, "s", &outfile, &outfile_len) == FAILURE) return; GetExceptionInfo(&exception); f = fopen (outfile,"w"); ListMagickInfo ( f,&exception ); fclose(f); } /* {{{ proto void imagick_dump(resource handle, string imageformat) dumps the image to the browser */ PHP_FUNCTION(imagick_dump) { zval *arg; char * outformat = NULL; int outformat_len = 0; ExceptionInfo exception; int argc = ZEND_NUM_ARGS(); size_t length; void *blob; php_imagick *handle; if (zend_parse_parameters(argc TSRMLS_CC, "r|s", &arg,&outformat,&outformat_len) == FAILURE) return; GetExceptionInfo(&exception); ZEND_FETCH_RESOURCE(handle, php_imagick *, &arg, -1, "imagick object", le_imagick); if (outformat != NULL) { strncpy( handle->image->magick, outformat, MaxTextExtent-1 ); } length=0; blob = ImageToBlob ( handle->info,handle->image, &length, &exception ); php_header(); #if APACHE && defined(CHARSET_EBCDIC) SLS_FETCH(); /* This is a binary file already: avoid EBCDIC->ASCII conversion */ ap_bsetflag(php3_rqst->connection->client, B_EBCDIC2ASCII, 0); #endif php_write(blob, length TSRMLS_CC); } /* {{{ proto mixed imagick_get_attribute(resource handle, string attribute) gets an attribut */ PHP_FUNCTION(imagick_get_attribute) { zval *arg; char *attribute = NULL; int attribute_len = 0; int argc = ZEND_NUM_ARGS(); php_imagick *handle; if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, argc TSRMLS_CC, "rs", &arg, &attribute, &attribute_len) == SUCCESS) { } ZEND_FETCH_RESOURCE(handle, php_imagick *, &arg, -1, "imagick object", le_imagick); switch (*attribute) { case 'f': case 'F': if (LocaleCompare(attribute,"format") == 0) { RETVAL_STRING(handle->image->magick,1); break; } case 'h': case 'H': if (LocaleCompare(attribute,"height") == 0) { RETVAL_LONG(handle->image->rows); break; } case 'm': case 'M': if (LocaleCompare(attribute,"magick") == 0) { RETVAL_STRING(handle->image->magick,1); break; } case 'q': case 'Q': if (LocaleCompare(attribute,"quality") == 0) { RETVAL_LONG(handle->info->quality); break; } case 's': case 'S': if (LocaleCompare(attribute,"size") == 0) { RETVAL_STRING(handle->info->size,1); break; } case 'w': case 'W': if (LocaleCompare(attribute,"width") == 0) { RETVAL_LONG(handle->image->columns); } } return; } /* {{{ proto void imagick_set_attribute(resource handle, string attribute, mixed value) sets an attribute */ PHP_FUNCTION(imagick_set_attribute) { zval *arg; zval *userdata; zval *value; char *attribute = NULL; int attribute_len = 0; int intvalue = 0; char *strvalue = NULL; php_imagick *handle; Image *image; int argc = ZEND_NUM_ARGS(); HashTable *target_hash; zval **entry; /* pointer to array entry */ char *key; HashPosition pos; if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, argc TSRMLS_CC, "rsz", &arg, &attribute,&attribute_len, &value) == SUCCESS) { MAKE_STD_ZVAL(userdata); if (array_init(userdata) != SUCCESS) { php_error(E_ERROR,"%s() Problems with creating array",get_active_function_name(TSRMLS_C)); RETVAL_FALSE; return; } convert_to_string(value); if (add_assoc_string(userdata,attribute,Z_STRVAL_P(value),1) != SUCCESS) { php_error(E_ERROR,"%s() Problems with adding string to array",get_active_function_name(TSRMLS_C)); RETVAL_FALSE; return; } } else if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, argc TSRMLS_CC, "ra", &arg, &userdata) == SUCCESS) { /* one or more attribute as an array */ } else { WRONG_PARAM_COUNT; RETVAL_FALSE; return; } ZEND_FETCH_RESOURCE(handle, php_imagick *, &arg, -1, "imagick object", le_imagick); image = handle->image; /* Set up known arguments */ target_hash = HASH_OF(userdata); zend_hash_internal_pointer_reset(target_hash); /* Iterate through hash */ while(zend_hash_get_current_data(target_hash, (void **)&entry) == SUCCESS) { zend_hash_get_current_key(target_hash, &key,NULL,0); attribute=key; switch (*attribute) { case 'a': case 'A': if (LocaleCompare(attribute,"adjoin") == 0) { convert_to_long_ex(entry); handle->info->adjoin = Z_LVAL_PP(entry); break; } case 'd': case 'D': if (LocaleCompare(attribute,"delay") == 0) { convert_to_long_ex(entry); for ( ; image; image=image->next) image->delay = L_ZVAL_PP(entry); break; } case 'f': case 'F': if (LocaleCompare(attribute,"format") == 0) { convert_to_string_ex(entry); for ( ; image; image=image->next) strncpy( image->magick, Z_STRVAL_PP(entry), MaxTextExtent-1 ); break; } case 'm': case 'M': if (LocaleCompare(attribute,"magick") == 0) { convert_to_string_ex(entry); for ( ; image; image=image->next) strncpy( image->magick, Z_STRVAL_PP(entry), MaxTextExtent-1 ); break; } case 'q': case 'Q': if (LocaleCompare(attribute,"quality") == 0) { convert_to_long_ex(entry); handle->info->quality = Z_LVAL_PP(entry); break; } case 's': case 'S': if (LocaleCompare(attribute,"size") == 0) { convert_to_string_ex(entry); CloneString(&handle->info->size , Z_STRVAL_PP(entry)); break; } } zend_hash_move_forward(target_hash); } zval_dtor(userdata); FREE_ZVAL(userdata); } /* {{{ proto string imagick_convert(string infile, string outfile) converts one fileformat to another in one go */ PHP_FUNCTION(imagick_convert) { char * infile = NULL; int infile_len = 0; char * outfile = NULL; int outfile_len = 0; char * outformat = NULL; int outformat_len = 0; php_imagick *handle; int er = 0; int argc = ZEND_NUM_ARGS(); size_t length; void *blob; ExceptionInfo exception; /* mmh, a one way conversion function... no idea how to do that with reusing the other functions... so for the time being, evth is duplicated */ if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET,argc TSRMLS_CC, "ss|s", &infile, &infile_len, &outfile, &outfile_len,&outformat, &outformat_len) == SUCCESS) {} else { WRONG_PARAM_COUNT; return; } handle = (php_imagick *)emalloc(sizeof(php_imagick)); if (!handle) { php_error(E_WARNING, "%s() couldn't allocate PHP-Magick handle", get_active_function_name(TSRMLS_C)); RETURN_FALSE; } memset(handle, 0, sizeof(php_imagick)); handle->info = CloneImageInfo((ImageInfo *) NULL);; strncpy( handle->info->filename, infile, MaxTextExtent-1 ); handle->image=ReadImage(handle->info,&exception); if ( handle->image == (Image *)NULL ) { php_error(E_ERROR,"%s() problem with opening file %s: %s",get_active_function_name(TSRMLS_C), infile,exception.reason); RETVAL_FALSE; return; } /* if outfilename = "-" or null, dump it to the browser */ if (LocaleCompare(outfile,"-") == 0 || LocaleCompare(outfile,"") == 0 ) { if (outformat != NULL) { strncpy( handle->image->magick, outformat, MaxTextExtent-1 ); } length=0; blob = ImageToBlob ( handle->info,handle->image, &length, &exception ); php_header(); #if APACHE && defined(CHARSET_EBCDIC) SLS_FETCH(); /* This is a binary file already: avoid EBCDIC->ASCII conversion */ ap_bsetflag(php3_rqst->connection->client, B_EBCDIC2ASCII, 0); #endif php_write(blob, length TSRMLS_CC); } else { strncpy( handle->image->filename, outfile, MaxTextExtent-1 ); er = WriteImage(handle->info,handle->image); if ( er == 0 ) { php_error(E_ERROR,"%s() problems with saving file %s: %s",get_active_function_name(TSRMLS_C), outfile,handle->image->exception.reason); RETVAL_FALSE; return; } } DestroyImageInfo(handle->info); DestroyImage(handle->image); RETVAL_TRUE; } /* * Local variables: * tab-width: 4 * c-basic-offset: 4 * indent-tabs-mode: t * End: * vim600: noet sw=4 ts=4 fdm=marker * vim<600: noet sw=4 ts=4 */ Index: pear/PECL/imagick/imagick.php +++ pear/PECL/imagick/imagick.php <? /* +----------------------------------------------------------------------+ | PHP version 4.0 | +----------------------------------------------------------------------+ | Copyright (c) 1997, 1998, 1999, 2000, 2001 The PHP Group | +----------------------------------------------------------------------+ | This source file is subject to version 2.02 of the PHP license, | | that is bundled with this package in the file LICENSE, and is | | available at through the world-wide-web at | | http://www.php.net/license/2_02.txt. | | If you did not receive a copy of the PHP license and are unable to | | obtain it through the world-wide-web, please send a note to | | license@php.net so we can mail you a copy immediately. | +----------------------------------------------------------------------+ | Authors: | | | +----------------------------------------------------------------------+ */ if(!extension_loaded('imagick')) { dl('imagick.so'); } $handle = imagick_create(); //imagick_set_attribute($handle,"size","100x150"); print imagick_read($handle,"bla4.png"); //print imagick_get_attribute($handle,"width"); //print imagick_get_attribute($handle,"height"); //imagick_oilpaint($handle,20); //print imagick_get_attribute($handle,"size"); print imagick_set_attribute($handle,array("quality"=>1,"magick"=>"JPEG")); //imagick_morph($handle,3); imagick_write($handle,"bla3g.gif"); imagick_free($handle); header("Content-type: image/gif"); readfile("bla3g.gif"); Index: pear/PECL/imagick/package.xml +++ pear/PECL/imagick/package.xml <?xml version="1.0" encoding="ISO-8859-1" ?> <!-- do not use the "Type" attribute here, that one is only for generated package.xml files --> <package> <name>pecl_imagick</name> <summary>Provides a wrapper do the Image Magick Library. It's a native php-extension. See http://php.chregu.tv/imagick for installation and usage notes</summary> <maintainer> <user>chregu</user> <name>Christian Stocker</name> <email>chregu@php.net</email> </maintainer> <release> <version>0.0.1</version> <date>2001-11-22</date> <notes> - first offical PEAR/PECL release - a lot of functionality still missing </notes> </release> <filelist> <dir role="source" name="/" baseinstalldir="imagick"> <file>CREDITS</file> <file>EXPERIMENTAL</file> <file>INSTALL</file> <file>Makefile.in</file> <file>config.m4</file> <file>imagick.c</file> <file>imagick.php</file> <file>php_imagick.h</file> <dir name="xml" role="doc"> <file>imagick.xml</file> </dir> <dir name="doc" role="doc"> <file>ref.imagick.html</file> <file>funcref.html</file> <file>function.imagick-convert.html</file> <file>function.imagick-create.html</file> <file>function.imagick-crop.html</file> <file>function.imagick-dump.html</file> <file>function.imagick-free.html</file> <file>function.imagick-get-attribute.html</file> <file>function.imagick-morph.html</file> <file>function.imagick-read.html</file> <file>function.imagick-resize.html</file> <file>function.imagick-rotate.html</file> <file>function.imagick-sample.html</file> <file>function.imagick-set-attribute.html</file> <file>function.imagick-shear.html</file> <file>function.imagick-write.html</file> <file>function.list-magickinfo.html</file> </dir> </dir> </filelist> </package> Index: pear/PECL/imagick/php_imagick.h +++ pear/PECL/imagick/php_imagick.h /* +----------------------------------------------------------------------+ | PHP version 4.0 | +----------------------------------------------------------------------+ | Copyright (c) 1997, 1998, 1999, 2000, 2001 The PHP Group | +----------------------------------------------------------------------+ | This source file is subject to version 2.02 of the PHP license, | | that is bundled with this package in the file LICENSE, and is | | available at through the world-wide-web at | | http://www.php.net/license/2_02.txt. | | If you did not receive a copy of the PHP license and are unable to | | obtain it through the world-wide-web, please send a note to | | license@php.net so we can mail you a copy immediately. | +----------------------------------------------------------------------+ | Authors: | | | +----------------------------------------------------------------------+ */ #ifndef PHP_IMAGICK_H #define PHP_IMAGICK_H extern zend_module_entry imagick_module_entry; #define phpext_imagick_ptr &imagick_module_entry #ifdef PHP_WIN32 #define PHP_IMAGICK_API __declspec(dllexport) #else #define PHP_IMAGICK_API #endif #ifdef ZTS #include "TSRM.h" #endif #include <magick/api.h> PHP_MINIT_FUNCTION(imagick); PHP_MSHUTDOWN_FUNCTION(imagick); PHP_RINIT_FUNCTION(imagick); PHP_RSHUTDOWN_FUNCTION(imagick); PHP_MINFO_FUNCTION(imagick); PHP_FUNCTION(confirm_imagick_compiled); /* For testing, remove later. */ PHP_FUNCTION(imagick_read); PHP_FUNCTION(imagick_sample); PHP_FUNCTION(imagick_resize); PHP_FUNCTION(imagick_crop); PHP_FUNCTION(imagick_rotate); PHP_FUNCTION(imagick_shear); PHP_FUNCTION(imagick_oilpaint); PHP_FUNCTION(imagick_morph); PHP_FUNCTION(imagick_write); PHP_FUNCTION(imagick_list_magickinfo); PHP_FUNCTION(imagick_dump); PHP_FUNCTION(imagick_set_attribute); PHP_FUNCTION(imagick_get_attribute); PHP_FUNCTION(imagick_new); PHP_FUNCTION(imagick_convert); PHP_FUNCTION(imagick_free); typedef struct { ImageInfo *info; Image *image; } php_imagick; /* Declare any global variables you may need between the BEGIN and END macros here: */ ZEND_BEGIN_MODULE_GLOBALS(imagick) int global_value; char *global_string; ZEND_END_MODULE_GLOBALS(imagick) /* In every utility function you add that needs to use variables in php_imagick_globals, call TSRM_FETCH(); after declaring other variables used by that function, or better yet, pass in TSRMG_CC after the last function argument and declare your utility function with TSRMG_DC after the last declared argument. Always refer to the globals in your function as IMAGICK_G(variable). You are encouraged to rename these macros something shorter, see examples in any other php module directory. */ #ifdef ZTS #define IMAGICK_G(v) TSRMG(imagick_globals_id, zend_imagick_globals *, v) #else #define IMAGICK_G(v) (imagick_globals.v) #endif #endif /* PHP_IMAGICK_H */ /* * Local variables: * tab-width: 4 * c-basic-offset: 4 * indent-tabs-mode: t * End: * vim600: noet sw=4 ts=4 fdm=marker * vim<600: noet sw=4 ts=4 */ Index: pear/PECL/imagick/doc/funcref.html +++ pear/PECL/imagick/doc/funcref.html <HTML ><HEAD ><TITLE >Function Reference</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.73 "><LINK REL="HOME" TITLE="imagick Manual;" HREF="index.html"><LINK REL="PREVIOUS" TITLE="imagick Manual;" HREF="index.html"><LINK REL="NEXT" TITLE="Imagick Functions" HREF="ref.imagick.html"><META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=ISO-8859-1"></HEAD ><BODY CLASS="part" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >imagick Manual;</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="index.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="ref.imagick.html" ACCESSKEY="N" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><DIV CLASS="PART" ><A NAME="funcref" ></A ><DIV CLASS="TITLEPAGE" ><H1 CLASS="title" >I. Function Reference</H1 ><DIV CLASS="TOC" ><DL ><DT ><B >Table of Contents</B ></DT ><DT >I. <A HREF="ref.imagick.html" >Imagick Functions</A ></DT ></DL ></DIV ></DIV ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="index.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="ref.imagick.html" ACCESSKEY="N" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >imagick Manual;</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" >&nbsp;</TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >Imagick Functions</TD ></TR ></TABLE ></DIV ></BODY ></HTML > Index: pear/PECL/imagick/doc/function.imagick-convert.html +++ pear/PECL/imagick/doc/function.imagick-convert.html <HTML ><HEAD ><TITLE >imagick_convert</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.73 "><LINK REL="HOME" TITLE="imagick Manual;" HREF="index.html"><LINK REL="UP" TITLE="Imagick Functions" HREF="ref.imagick.html"><LINK REL="PREVIOUS" TITLE="imagick_free" HREF="function.imagick-free.html"><LINK REL="NEXT" TITLE="imagick_crop" HREF="function.imagick-crop.html"><META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=ISO-8859-1"></HEAD ><BODY CLASS="refentry" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >imagick Manual;</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="function.imagick-free.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="function.imagick-crop.html" ACCESSKEY="N" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><H1 ><A NAME="function.imagick-convert" >imagick_convert</A ></H1 ><DIV CLASS="refnamediv" ><A NAME="AEN690" ></A ><P > (unknown)</P >imagick_convert&nbsp;--&nbsp; Converts a file to another file or dumps it to the browser </DIV ><DIV CLASS="refsect1" ><A NAME="AEN693" ></A ><H2 >Description</H2 ><DIV CLASS="funcsynopsis" ><A NAME="AEN695" ></A ><P ></P ><P ><CODE ><CODE CLASS="FUNCDEF" >bool <B CLASS="function" >imagick_convert</B ></CODE > (string input_file, string output_file [, string imageformat])</CODE ></P ><P ></P ></DIV ><DIV CLASS="warning" ><P ></P ><TABLE CLASS="warning" BORDER="1" WIDTH="100%" ><TR ><TD ALIGN="CENTER" ><B >Warning</B ></TD ></TR ><TR ><TD ALIGN="LEFT" ><P >This function is <SPAN CLASS="emphasis" ><I CLASS="emphasis" >EXPERIMENTAL</I ></SPAN >. That means, that the behaviour of this function, this function name, in concreto ANYTHING documented here can change in a future release of PHP WITHOUT NOTICE. Be warned, and use this function at your own risk.</P ></TD ></TR ></TABLE ></DIV ><P >&#13; Returns: <TT CLASS="constant" ><B >TRUE</B ></TT > on success, <TT CLASS="constant" ><B >FALSE</B ></TT > on error. </P ><P >&#13; This is a wrapper for create, read, write/dump and free. If output_file is "-" or Null it dumps the image to the output (mostly the browser). If you dump it to the output, you can give a imageformat, if you want something else than the inputformat (most likely...). </P ><P >&#13; See also: <A HREF="function.imagick-read.html" ><B CLASS="function" >imagick_read()</B ></A >, <A HREF="function.imagick-write.html" ><B CLASS="function" >imagick_write()</B ></A >, <A HREF="function.imagick-dump.html" ><B CLASS="function" >imagick_dump()</B ></A >. </P ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="function.imagick-free.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="function.imagick-crop.html" ACCESSKEY="N" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >imagick_free</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="ref.imagick.html" ACCESSKEY="U" >Up</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >imagick_crop</TD ></TR ></TABLE ></DIV ></BODY ></HTML > Index: pear/PECL/imagick/doc/function.imagick-create.html +++ pear/PECL/imagick/doc/function.imagick-create.html <HTML ><HEAD ><TITLE >imagick_create</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.73 "><LINK REL="HOME" TITLE="imagick Manual;" HREF="index.html"><LINK REL="UP" TITLE="Imagick Functions" HREF="ref.imagick.html"><LINK REL="PREVIOUS" TITLE="Imagick Functions" HREF="ref.imagick.html"><LINK REL="NEXT" TITLE="imagick_read" HREF="function.imagick-read.html"><META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=ISO-8859-1"></HEAD ><BODY CLASS="refentry" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >imagick Manual;</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="ref.imagick.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="function.imagick-read.html" ACCESSKEY="N" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><H1 ><A NAME="function.imagick-create" >imagick_create</A ></H1 ><DIV CLASS="refnamediv" ><A NAME="AEN37" ></A ><P > (unknown)</P >imagick_create&nbsp;--&nbsp;Creates a new ImageMagick handle</DIV ><DIV CLASS="refsect1" ><A NAME="AEN40" ></A ><H2 >Description</H2 ><DIV CLASS="funcsynopsis" ><A NAME="AEN42" ></A ><P ></P ><P ><CODE ><CODE CLASS="FUNCDEF" >resource <B CLASS="function" >imagick_create</B ></CODE > (void)</CODE ></P ><P ></P ></DIV ><DIV CLASS="warning" ><P ></P ><TABLE CLASS="warning" BORDER="1" WIDTH="100%" ><TR ><TD ALIGN="CENTER" ><B >Warning</B ></TD ></TR ><TR ><TD ALIGN="LEFT" ><P >This function is <SPAN CLASS="emphasis" ><I CLASS="emphasis" >EXPERIMENTAL</I ></SPAN >. That means, that the behaviour of this function, this function name, in concreto ANYTHING documented here can change in a future release of PHP WITHOUT NOTICE. Be warned, and use this function at your own risk.</P ></TD ></TR ></TABLE ></DIV ><P >&#13; Returns a handle on success, <TT CLASS="constant" ><B >FALSE</B ></TT > on error. </P ><TABLE WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" CLASS="EXAMPLE" ><TR ><TD ><DIV CLASS="example" ><A NAME="AEN53" ></A ><P ><B >Example 1. <B CLASS="function" >imagick_create()</B > example</B ></P ><TABLE BORDER="0" BGCOLOR="#E0E0E0" CELLPADDING="5" ><TR ><TD ><PRE CLASS="php" >&#60;?php $handle = imagick_create () or die ("Could not create handle"); print("Connected successfully"); imagick_free($handle); ?&#62;</PRE ></TD ></TR ></TABLE ></DIV ></TD ></TR ></TABLE ><P >&#13; See also: <A HREF="function.imagick-free.html" ><B CLASS="function" >imagick_free()</B ></A >. </P ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="ref.imagick.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="function.imagick-read.html" ACCESSKEY="N" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >Imagick Functions</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="ref.imagick.html" ACCESSKEY="U" >Up</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >imagick_read</TD ></TR ></TABLE ></DIV ></BODY ></HTML > Index: pear/PECL/imagick/doc/function.imagick-crop.html +++ pear/PECL/imagick/doc/function.imagick-crop.html <HTML ><HEAD ><TITLE >imagick_crop</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.73 "><LINK REL="HOME" TITLE="imagick Manual;" HREF="index.html"><LINK REL="UP" TITLE="Imagick Functions" HREF="ref.imagick.html"><LINK REL="PREVIOUS" TITLE="imagick_convert" HREF="function.imagick-convert.html"><LINK REL="NEXT" TITLE="imagick_sample" HREF="function.imagick-sample.html"><META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=ISO-8859-1"></HEAD ><BODY CLASS="refentry" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >imagick Manual;</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="function.imagick-convert.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="function.imagick-sample.html" ACCESSKEY="N" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><H1 ><A NAME="function.imagick-crop" >imagick_crop</A ></H1 ><DIV CLASS="refnamediv" ><A NAME="AEN718" ></A ><P > (unknown)</P >imagick_crop&nbsp;--&nbsp; Crops an image </DIV ><DIV CLASS="refsect1" ><A NAME="AEN721" ></A ><H2 >Description</H2 ><DIV CLASS="funcsynopsis" ><A NAME="AEN723" ></A ><P ></P ><P ><CODE ><CODE CLASS="FUNCDEF" >bool <B CLASS="function" >imagick_crop</B ></CODE > (resource imagick_handle, int width, int height, int x, int y)</CODE ></P ><P ></P ></DIV ><DIV CLASS="warning" ><P ></P ><TABLE CLASS="warning" BORDER="1" WIDTH="100%" ><TR ><TD ALIGN="CENTER" ><B >Warning</B ></TD ></TR ><TR ><TD ALIGN="LEFT" ><P >This function is <SPAN CLASS="emphasis" ><I CLASS="emphasis" >EXPERIMENTAL</I ></SPAN >. That means, that the behaviour of this function, this function name, in concreto ANYTHING documented here can change in a future release of PHP WITHOUT NOTICE. Be warned, and use this function at your own risk.</P ></TD ></TR ></TABLE ></DIV ><P >&#13; Returns: <TT CLASS="constant" ><B >TRUE</B ></TT > on success, <TT CLASS="constant" ><B >FALSE</B ></TT > on error. </P ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="function.imagick-convert.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="function.imagick-sample.html" ACCESSKEY="N" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >imagick_convert</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="ref.imagick.html" ACCESSKEY="U" >Up</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >imagick_sample</TD ></TR ></TABLE ></DIV ></BODY ></HTML > Index: pear/PECL/imagick/doc/function.imagick-dump.html +++ pear/PECL/imagick/doc/function.imagick-dump.html <HTML ><HEAD ><TITLE >imagick_dump</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.73 "><LINK REL="HOME" TITLE="imagick Manual;" HREF="index.html"><LINK REL="UP" TITLE="Imagick Functions" HREF="ref.imagick.html"><LINK REL="PREVIOUS" TITLE="imagick_morph" HREF="function.imagick-morph.html"><LINK REL="NEXT" TITLE="imagick_set_attribute" HREF="function.imagick-set-attribute.html"><META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=ISO-8859-1"></HEAD ><BODY CLASS="refentry" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >imagick Manual;</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="function.imagick-morph.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="function.imagick-set-attribute.html" ACCESSKEY="N" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><H1 ><A NAME="function.imagick-dump" >imagick_dump</A ></H1 ><DIV CLASS="refnamediv" ><A NAME="AEN887" ></A ><P > (unknown)</P >imagick_dump&nbsp;--&nbsp; Dumps the picture to the output (mostly the browser) </DIV ><DIV CLASS="refsect1" ><A NAME="AEN890" ></A ><H2 >Description</H2 ><DIV CLASS="funcsynopsis" ><A NAME="AEN892" ></A ><P ></P ><P ><CODE ><CODE CLASS="FUNCDEF" >bool <B CLASS="function" >imagick_dump</B ></CODE > (resource imagick_handle [, string imageformat])</CODE ></P ><P ></P ></DIV ><DIV CLASS="warning" ><P ></P ><TABLE CLASS="warning" BORDER="1" WIDTH="100%" ><TR ><TD ALIGN="CENTER" ><B >Warning</B ></TD ></TR ><TR ><TD ALIGN="LEFT" ><P >This function is <SPAN CLASS="emphasis" ><I CLASS="emphasis" >EXPERIMENTAL</I ></SPAN >. That means, that the behaviour of this function, this function name, in concreto ANYTHING documented here can change in a future release of PHP WITHOUT NOTICE. Be warned, and use this function at your own risk.</P ></TD ></TR ></TABLE ></DIV ><P >&#13; See also: <A HREF="function.imagick-write.html" ><B CLASS="function" >imagick_write()</B ></A >. </P ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="function.imagick-morph.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="function.imagick-set-attribute.html" ACCESSKEY="N" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >imagick_morph</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="ref.imagick.html" ACCESSKEY="U" >Up</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >imagick_set_attribute</TD ></TR ></TABLE ></DIV ></BODY ></HTML > Index: pear/PECL/imagick/doc/function.imagick-free.html +++ pear/PECL/imagick/doc/function.imagick-free.html <HTML ><HEAD ><TITLE >imagick_free</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.73 "><LINK REL="HOME" TITLE="imagick Manual;" HREF="index.html"><LINK REL="UP" TITLE="Imagick Functions" HREF="ref.imagick.html"><LINK REL="PREVIOUS" TITLE="imagick_write" HREF="function.imagick-write.html"><LINK REL="NEXT" TITLE="imagick_convert" HREF="function.imagick-convert.html"><META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=ISO-8859-1"></HEAD ><BODY CLASS="refentry" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >imagick Manual;</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="function.imagick-write.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="function.imagick-convert.html" ACCESSKEY="N" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><H1 ><A NAME="function.imagick-free" >imagick_free</A ></H1 ><DIV CLASS="refnamediv" ><A NAME="AEN673" ></A ><P > (unknown)</P >imagick_free&nbsp;--&nbsp; Frees an imagick handle and all the resources attached to it </DIV ><DIV CLASS="refsect1" ><A NAME="AEN676" ></A ><H2 >Description</H2 ><DIV CLASS="funcsynopsis" ><A NAME="AEN678" ></A ><P ></P ><P ><CODE ><CODE CLASS="FUNCDEF" >bool <B CLASS="function" >imagick_free</B ></CODE > (resource imagick_handle)</CODE ></P ><P ></P ></DIV ><DIV CLASS="warning" ><P ></P ><TABLE CLASS="warning" BORDER="1" WIDTH="100%" ><TR ><TD ALIGN="CENTER" ><B >Warning</B ></TD ></TR ><TR ><TD ALIGN="LEFT" ><P >This function is <SPAN CLASS="emphasis" ><I CLASS="emphasis" >EXPERIMENTAL</I ></SPAN >. That means, that the behaviour of this function, this function name, in concreto ANYTHING documented here can change in a future release of PHP WITHOUT NOTICE. Be warned, and use this function at your own risk.</P ></TD ></TR ></TABLE ></DIV ><P >&#13; See also: <A HREF="function.imagick-create.html" ><B CLASS="function" >imagick_create()</B ></A >. </P ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="function.imagick-write.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="function.imagick-convert.html" ACCESSKEY="N" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >imagick_write</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="ref.imagick.html" ACCESSKEY="U" >Up</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >imagick_convert</TD ></TR ></TABLE ></DIV ></BODY ></HTML > Index: pear/PECL/imagick/doc/function.imagick-get-attribute.html +++ pear/PECL/imagick/doc/function.imagick-get-attribute.html <HTML ><HEAD ><TITLE >imagick_get_attribute</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.73 "><LINK REL="HOME" TITLE="imagick Manual;" HREF="index.html"><LINK REL="UP" TITLE="Imagick Functions" HREF="ref.imagick.html"><LINK REL="PREVIOUS" TITLE="imagick_set_attribute" HREF="function.imagick-set-attribute.html"><META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=ISO-8859-1"></HEAD ><BODY CLASS="refentry" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >imagick Manual;</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="function.imagick-set-attribute.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" >&nbsp;</TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><H1 ><A NAME="function.imagick-get-attribute" >imagick_get_attribute</A ></H1 ><DIV CLASS="refnamediv" ><A NAME="AEN949" ></A ><P > (unknown)</P >imagick_get_attribute&nbsp;--&nbsp; Gets an image attribute. </DIV ><DIV CLASS="refsect1" ><A NAME="AEN952" ></A ><H2 >Description</H2 ><DIV CLASS="funcsynopsis" ><A NAME="AEN954" ></A ><P ></P ><P ><CODE ><CODE CLASS="FUNCDEF" >bool <B CLASS="function" >imagick_sample</B ></CODE > (resource imagick_handle, string attribute_name)</CODE ></P ><P ></P ></DIV ><DIV CLASS="warning" ><P ></P ><TABLE CLASS="warning" BORDER="1" WIDTH="100%" ><TR ><TD ALIGN="CENTER" ><B >Warning</B ></TD ></TR ><TR ><TD ALIGN="LEFT" ><P >This function is <SPAN CLASS="emphasis" ><I CLASS="emphasis" >EXPERIMENTAL</I ></SPAN >. That means, that the behaviour of this function, this function name, in concreto ANYTHING documented here can change in a future release of PHP WITHOUT NOTICE. Be warned, and use this function at your own risk.</P ></TD ></TR ></TABLE ></DIV ><P >&#13; At the moment are following attributes supported: <P ></P ><TABLE BORDER="0" ><TBODY ><TR ><TD >format</TD ></TR ><TR ><TD >magick</TD ></TR ><TR ><TD >quality</TD ></TR ><TR ><TD >height</TD ></TR ><TR ><TD >width</TD ></TR ></TBODY ></TABLE ><P ></P > </P ><P >&#13; See also: <A HREF="function.imagick-set-attribute.html" ><B CLASS="function" >imagick_set_attribute()</B ></A >. </P ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="function.imagick-set-attribute.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >&nbsp;</TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >imagick_set_attribute</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="ref.imagick.html" ACCESSKEY="U" >Up</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >&nbsp;</TD ></TR ></TABLE ></DIV ></BODY ></HTML > Index: pear/PECL/imagick/doc/function.imagick-morph.html +++ pear/PECL/imagick/doc/function.imagick-morph.html <HTML ><HEAD ><TITLE >imagick_morph</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.73 "><LINK REL="HOME" TITLE="imagick Manual;" HREF="index.html"><LINK REL="UP" TITLE="Imagick Functions" HREF="ref.imagick.html"><LINK REL="PREVIOUS" TITLE="imagick_shear" HREF="function.imagick-shear.html"><LINK REL="NEXT" TITLE="imagick_dump" HREF="function.imagick-dump.html"><META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=ISO-8859-1"></HEAD ><BODY CLASS="refentry" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >imagick Manual;</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="function.imagick-shear.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="function.imagick-dump.html" ACCESSKEY="N" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><H1 ><A NAME="function.imagick-morph" >imagick_morph</A ></H1 ><DIV CLASS="refnamediv" ><A NAME="AEN869" ></A ><P > (unknown)</P >imagick_morph&nbsp;--&nbsp; Morphes at least 2 pictures </DIV ><DIV CLASS="refsect1" ><A NAME="AEN872" ></A ><H2 >Description</H2 ><DIV CLASS="funcsynopsis" ><A NAME="AEN874" ></A ><P ></P ><P ><CODE ><CODE CLASS="FUNCDEF" >bool <B CLASS="function" >imagick_shear</B ></CODE > (resource imagick_handle, long number_frames)</CODE ></P ><P ></P ></DIV ><DIV CLASS="warning" ><P ></P ><TABLE CLASS="warning" BORDER="1" WIDTH="100%" ><TR ><TD ALIGN="CENTER" ><B >Warning</B ></TD ></TR ><TR ><TD ALIGN="LEFT" ><P >This function is <SPAN CLASS="emphasis" ><I CLASS="emphasis" >EXPERIMENTAL</I ></SPAN >. That means, that the behaviour of this function, this function name, in concreto ANYTHING documented here can change in a future release of PHP WITHOUT NOTICE. Be warned, and use this function at your own risk.</P ></TD ></TR ></TABLE ></DIV ><P >&#13; This function requires a minimum of two images. The firstimage is transformed into the second by a number of intervening images as specified by frames. </P ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="function.imagick-shear.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="function.imagick-dump.html" ACCESSKEY="N" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >imagick_shear</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="ref.imagick.html" ACCESSKEY="U" >Up</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >imagick_dump</TD ></TR ></TABLE ></DIV ></BODY ></HTML > Index: pear/PECL/imagick/doc/function.imagick-read.html +++ pear/PECL/imagick/doc/function.imagick-read.html <HTML ><HEAD ><TITLE >imagick_read</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.73 "><LINK REL="HOME" TITLE="imagick Manual;" HREF="index.html"><LINK REL="UP" TITLE="Imagick Functions" HREF="ref.imagick.html"><LINK REL="PREVIOUS" TITLE="imagick_create" HREF="function.imagick-create.html"><LINK REL="NEXT" TITLE="imagick_write" HREF="function.imagick-write.html"><META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=ISO-8859-1"></HEAD ><BODY CLASS="refentry" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >imagick Manual;</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="function.imagick-create.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="function.imagick-write.html" ACCESSKEY="N" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><H1 ><A NAME="function.imagick-read" >imagick_read</A ></H1 ><DIV CLASS="refnamediv" ><A NAME="AEN60" ></A ><P > (unknown)</P >imagick_read&nbsp;--&nbsp;Reads an image</DIV ><DIV CLASS="refsect1" ><A NAME="AEN63" ></A ><H2 >Description</H2 ><DIV CLASS="funcsynopsis" ><A NAME="AEN65" ></A ><P ></P ><P ><CODE ><CODE CLASS="FUNCDEF" >boolean <B CLASS="function" >imagick_read</B ></CODE > (resource imagick_handle, mixed filename)</CODE ></P ><P ></P ></DIV ><DIV CLASS="warning" ><P ></P ><TABLE CLASS="warning" BORDER="1" WIDTH="100%" ><TR ><TD ALIGN="CENTER" ><B >Warning</B ></TD ></TR ><TR ><TD ALIGN="LEFT" ><P >This function is <SPAN CLASS="emphasis" ><I CLASS="emphasis" >EXPERIMENTAL</I ></SPAN >. That means, that the behaviour of this function, this function name, in concreto ANYTHING documented here can change in a future release of PHP WITHOUT NOTICE. Be warned, and use this function at your own risk.</P ></TD ></TR ></TABLE ></DIV ><P >&#13; Returns: <TT CLASS="constant" ><B >TRUE</B ></TT > on success, <TT CLASS="constant" ><B >FALSE</B ></TT > on error. </P ><P >&#13; The <TT CLASS="parameter" ><I >filename</I ></TT > parameter can be either a filename on your local filesystem or a URL (e.g. http://my.server.com/picture.gif) or an array containing more than one string with filenames for multiple image support. The imageformat should be recognized automatically by imagick. If <B CLASS="function" >imagick_read()</B > does not recognize the imageformat, you can prefix the filename with the image format abbreviation plus a : (e.g. GIF:mygif.gif). Following imageformats are supported with ImageMagick 5.4.0. </P ><P >&#13; <DIV CLASS="table" ><A NAME="AEN83" ></A ><P ><B >Table 1. Supported image formats by ImageMagick</B ></P ><TABLE BORDER="1" CLASS="CALSTABLE" ><THEAD ><TR ><TH ALIGN="LEFT" VALIGN="MIDDLE" >Image Type</TH ><TH ALIGN="LEFT" VALIGN="MIDDLE" >Read/Write Support</TH ><TH ALIGN="LEFT" VALIGN="MIDDLE" >Description</TH ></TR ></THEAD ><TBODY ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >8BIM*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw-</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Photoshop resource format</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >AFM*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >r--</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >TrueType font</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >APP1*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw-</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Photoshop resource format</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >ART*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >r--</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >PF1: 1st Publisher</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >AVI*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >r--</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Audio/Visual Interleaved</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >AVS*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw+</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >AVS X image</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >BIE*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw-</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Joint Bi-level Image experts Group interchange format</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >BMP*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw+</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Microsoft Windows bitmap image</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >CMYK*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw+</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Raw cyan, magenta, yellow, and black bytes</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >CMYKA*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw+</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Raw cyan, magenta, yellow, black, and matte bytes</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >CUT*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >r--</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >DR Hallo</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >DCM*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >r--</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Digital Imaging and Communications in Medicine image</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >DCX*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw+</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >ZSoft IBM PC multi-page Paintbrush</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >DIB*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw+</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Microsoft Windows bitmap image</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >DPX*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw+</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Digital Moving Picture Exchange</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >EPDF*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw-</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Encapsulated Portable Document Format</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >EPI*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw-</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Adobe Encapsulated PostScript Interchange format</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >EPS*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw-</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Adobe Encapsulated PostScript</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >EPS2*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >-w-</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Adobe Level II Encapsulated PostScript</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >EPS3*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >-w+</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Adobe Level III Encapsulated PostScript</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >EPSF*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw-</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Adobe Encapsulated PostScript</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >EPSI*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw-</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Adobe Encapsulated PostScript Interchange format</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >EPT*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw-</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Adobe Encapsulated PostScript with TIFF preview</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >FAX*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw+</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Group 3 FAX</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >FILE*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >r--</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Uniform Resource Locator</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >FITS*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw-</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Flexible Image Transport System</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >FPX*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw-</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >FlashPix Format</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >FTP*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >r--</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Uniform Resource Locator</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >G3*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw-</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Group 3 FAX</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >GIF*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw+</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >CompuServe graphics interchange format</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >GIF87*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw-</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >CompuServe graphics interchange format (version 87a)</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >GRADIENT*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >r--</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Gradual passing from one shade to another</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >GRANITE*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >r--</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Granite texture</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >GRAY*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw+</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Raw gray bytes</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >H*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw-</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Internal format</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >HDF</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw+</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Hierarchical Data Format</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >HISTOGRAM*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >-w-</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Histogram of the image</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >HTM*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >-w-</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Hypertext Markup Language and a client-side image map</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >HTML*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >-w-</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Hypertext Markup Language and a client-side image map</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >HTTP*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >r--</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Uniform Resource Locator</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >ICB*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw+</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Truevision Targa image</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >ICM*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw-</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >ICC Color Profile</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >ICO*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >r--</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Microsoft icon</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >ICON*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >r--</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Microsoft icon</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >IPTC*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw-</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >IPTC Newsphoto</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >JBG*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw+</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Joint Bi-level Image experts Group interchange format</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >JBIG*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw+</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Joint Bi-level Image experts Group interchange format</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >JP2*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw-</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >JPEG-2000 JP2 File Format Syntax</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >JPC*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw-</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >JPEG-2000 Code Stream Syntax</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >JPEG*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw-</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Joint Photographic Experts Group JFIF format</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >JPG*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw-</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Joint Photographic Experts Group JFIF format</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >LABEL*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >r--</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Text image format</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >LOGO*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw-</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >ImageMagick Logo</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >M2V*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw+</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >MPEG Video Stream</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >MAP*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw-</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Colormap intensities and indices</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >MAT*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >r--</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >MATLAB image format</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >MATTE*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >-w+</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >MATTE format</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >MIFF*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw+</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Magick image format</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >MNG*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw+</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Multiple-image Network Graphics</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >MONO*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw-</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Bi-level bitmap in least-significant-byte first order</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >MPC</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw-</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Magick Persistent Cache image format</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >MPEG*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw+</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >MPEG Video Stream</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >MPG*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw+</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >MPEG Video Stream</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >MTV*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw+</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >MTV Raytracing image format</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >MVG*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw-</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Magick Vector Graphics</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >NETSCAPE*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >r--</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Netscape 216 color cube</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >NULL*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >r--</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Constant image of uniform color</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >OTB*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw-</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >On-the-air bitmap</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >P7*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw+</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Xv thumbnail format</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >PAL*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw-</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >16bit/pixel interleaved YUV</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >PBM*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw+</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Portable bitmap format (black and white)</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >PCD*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw-</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Photo CD</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >PCDS*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw-</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Photo CD</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >PCL*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >-w-</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Page Control Language</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >PCT*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw-</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Apple Macintosh QuickDraw/PICT</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >PCX*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw-</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >ZSoft IBM PC Paintbrush</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >PDB*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >r--</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Pilot Image Format</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >PDF*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw+</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Portable Document Format</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >PFB*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >r--</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >TrueType font</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >PFM*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >r--</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >TrueType font</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >PGM*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw+</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Portable graymap format (gray scale)</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >PICON*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw-</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Personal Icon</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >PICT*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw-</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Apple Macintosh QuickDraw/PICT</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >PIX*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >r--</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Alias/Wavefront RLE image format</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >PLASMA*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >r--</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Plasma fractal image</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >PM*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw-</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >X Windows system pixmap (color)</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >PNG*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw-</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Portable Network Graphics</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >PNM*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw+</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Portable anymap</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >PPM*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw+</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Portable pixmap format (color)</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >PREVIEW*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >-w-</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Show a preview an image enhancement, effect, or f/x</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >PS*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw+</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Adobe PostScript</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >PS2*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >-w+</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Adobe Level II PostScript</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >PS3*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >-w+</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Adobe Level III PostScript</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >PSD*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw-</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Adobe Photoshop bitmap</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >PTIF*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw-</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Pyramid encoded TIFF</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >PWP*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >r--</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Seattle Film Works</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >RAS*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw+</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >SUN Rasterfile</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >RGB*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw+</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Raw red, green, and blue bytes</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >RGBA*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw+</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Raw red, green, blue, and matte bytes</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >RLA*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >r--</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Alias/Wavefront image</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >RLE*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >r--</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Utah Run length encoded image</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >SCT*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >r--</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Scitex HandShake</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >SGI*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw+</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Irix RGB image</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >SHTML*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >-w-</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Hypertext Markup Language and a client-side image map</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >STEGANO*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >r--</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Steganographic image</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >SUN*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw+</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >SUN Rasterfile</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >SVG*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw+</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Scalable Vector Gaphics</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >TEXT*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw+</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Raw text</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >TGA*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw+</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Truevision Targa image</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >TIF*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw+</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Tagged Image File Format</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >TIFF*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw+</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Tagged Image File Format</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >TILE*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >r--</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Tile image with a texture</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >TIM*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >r--</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >PSX TIM</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >TTF*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >r--</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >TrueType font</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >TXT*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw+</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Raw text</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >UIL*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >-w-</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >X-Motif UIL table</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >UYVY*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw-</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >16bit/pixel interleaved YUV</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >VDA*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw+</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Truevision Targa image</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >VICAR*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw-</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >VICAR rasterfile format</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >VID*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw+</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Visual Image Directory</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >VIFF*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw+</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Khoros Visualization image</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >VST*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw+</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Truevision Targa image</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >WBMP*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw-</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Wireless Bitmap (level 0) image</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >WMF</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >r--</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Windows Meta File</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >WPG*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >r--</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Word Perfect Graphics</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >X*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw-</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >X Image</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >XBM*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw-</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >X Windows system bitmap (black and white)</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >XC*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >r--</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Constant image uniform color</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >XML*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >r--</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Scalable Vector Gaphics</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >XPM*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw-</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >X Windows system pixmap (color)</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >XV*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw+</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >Khoros Visualization image</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >XWD*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw-</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >X Windows system window dump (color)</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >YUV*</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >rw-</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >CCIR 601 4:1:1</TD ></TR ></TBODY ></TABLE ></DIV > </P ><DIV CLASS="note" ><BLOCKQUOTE CLASS="note" ><P ><B >Note: </B > r = read, w = write, * = native blob support </P ><P >&#13; On some platforms, ImageMagick automatically processes these extensions: .gz for Zip compression, .Z for Unix compression, .bz2 for block compression, and .pgp for PGP encryption. For example, a PNM image called image.pnm.gz is automatically uncompressed with the gzip program and the image is subsequently read. </P ></BLOCKQUOTE ></DIV ><P >&#13; <TABLE WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" CLASS="EXAMPLE" ><TR ><TD ><DIV CLASS="example" ><A NAME="AEN628" ></A ><P ><B >Example 1. <B CLASS="function" >imagick_read()</B > example</B ></P ><TABLE BORDER="0" BGCOLOR="#E0E0E0" CELLPADDING="5" ><TR ><TD ><PRE CLASS="php" >&#60;?php $handle = image_new(); or die ("Could not connect"); imagick_read($handle,"mypic.gif"); imagick_write($handle,"mypic.png"); imagick_free($handle); ?&#62;</PRE ></TD ></TR ></TABLE ></DIV ></TD ></TR ></TABLE > </P ><P >&#13; <TABLE WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" CLASS="EXAMPLE" ><TR ><TD ><DIV CLASS="example" ><A NAME="AEN633" ></A ><P ><B >Example 2. <B CLASS="function" >imagick_read()</B > example with multiple images</B ></P ><TABLE BORDER="0" BGCOLOR="#E0E0E0" CELLPADDING="5" ><TR ><TD ><PRE CLASS="php" >&#60;?php $handle = image_new(); or die ("Could not connect"); imagick_read($handle,array("mypic.gif","http://my.server.com/mypic.png")); imagick_write($handle,"PNG:mypic.myext"); imagick_free($handle); ?&#62;</PRE ></TD ></TR ></TABLE ></DIV ></TD ></TR ></TABLE > </P ><P >&#13; See also: <A HREF="function.imagick-write.html" ><B CLASS="function" >imagick_write()</B ></A >, <A HREF="function.imagick-convert.html" ><B CLASS="function" >imagick_convert()</B ></A >. </P ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="function.imagick-create.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="function.imagick-write.html" ACCESSKEY="N" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >imagick_create</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="ref.imagick.html" ACCESSKEY="U" >Up</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >imagick_write</TD ></TR ></TABLE ></DIV ></BODY ></HTML > Index: pear/PECL/imagick/doc/function.imagick-resize.html +++ pear/PECL/imagick/doc/function.imagick-resize.html <HTML ><HEAD ><TITLE >imagick_resize</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.73 "><LINK REL="HOME" TITLE="imagick Manual;" HREF="index.html"><LINK REL="UP" TITLE="Imagick Functions" HREF="ref.imagick.html"><LINK REL="PREVIOUS" TITLE="imagick_sample" HREF="function.imagick-sample.html"><LINK REL="NEXT" TITLE="imagick_list-magickifo" HREF="function.list-magickinfo.html"><META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=ISO-8859-1"></HEAD ><BODY CLASS="refentry" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >imagick Manual;</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="function.imagick-sample.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="function.list-magickinfo.html" ACCESSKEY="N" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><H1 ><A NAME="function.imagick-resize" >imagick_resize</A ></H1 ><DIV CLASS="refnamediv" ><A NAME="AEN769" ></A ><P > (unknown)</P >imagick_resize&nbsp;--&nbsp; Scales an image to the desired dimensions with a filter. </DIV ><DIV CLASS="refsect1" ><A NAME="AEN772" ></A ><H2 >Description</H2 ><DIV CLASS="funcsynopsis" ><A NAME="AEN774" ></A ><P ></P ><P ><CODE ><CODE CLASS="FUNCDEF" >bool <B CLASS="function" >imagick_resize</B ></CODE > (resource imagick_handle, int width, int height, int filter, int blur)</CODE ></P ><P ></P ></DIV ><DIV CLASS="warning" ><P ></P ><TABLE CLASS="warning" BORDER="1" WIDTH="100%" ><TR ><TD ALIGN="CENTER" ><B >Warning</B ></TD ></TR ><TR ><TD ALIGN="LEFT" ><P >This function is <SPAN CLASS="emphasis" ><I CLASS="emphasis" >EXPERIMENTAL</I ></SPAN >. That means, that the behaviour of this function, this function name, in concreto ANYTHING documented here can change in a future release of PHP WITHOUT NOTICE. Be warned, and use this function at your own risk.</P ></TD ></TR ></TABLE ></DIV ><P >&#13; Returns: <TT CLASS="constant" ><B >TRUE</B ></TT > on success, <TT CLASS="constant" ><B >FALSE</B ></TT > on error. </P ><P >&#13; The possible filters are: <P ></P ><TABLE BORDER="0" ><TBODY ><TR ><TD >IMAGICK_FILTER_UNDEFINED</TD ></TR ><TR ><TD >IMAGICK_FILTER_POINT</TD ></TR ><TR ><TD >IMAGICK_FILTER_BOX</TD ></TR ><TR ><TD >IMAGICK_FILTER_TRIANGLE</TD ></TR ><TR ><TD >IMAGICK_FILTER_HERMITE</TD ></TR ><TR ><TD >IMAGICK_FILTER_HANNING</TD ></TR ><TR ><TD >IMAGICK_FILTER_HAMMING</TD ></TR ><TR ><TD >IMAGICK_FILTER_BLACKMAN</TD ></TR ><TR ><TD >IMAGICK_FILTER_GAUSSIAN</TD ></TR ><TR ><TD >IMAGICK_FILTER_QUADRATIC</TD ></TR ><TR ><TD >IMAGICK_FILTER_CUBIC</TD ></TR ><TR ><TD >IMAGICK_FILTER_CATROM</TD ></TR ><TR ><TD >IMAGICK_FILTER_MITCHELL</TD ></TR ><TR ><TD >IMAGICK_FILTER_LANCZOS</TD ></TR ><TR ><TD >IMAGICK_FILTER_BESSEL</TD ></TR ><TR ><TD >IMAGICK_FILTER_SINC</TD ></TR ></TBODY ></TABLE ><P ></P > <TT CLASS="parameter" ><I >blur</I ></TT > means the blur factor where &#62; 1 is blurry, &#60; 1 is sharp. </P ><P >&#13; See also: <A HREF="function.imagick-sample.html" ><B CLASS="function" >imagick_sample()</B ></A >. </P ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="function.imagick-sample.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="function.list-magickinfo.html" ACCESSKEY="N" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >imagick_sample</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="ref.imagick.html" ACCESSKEY="U" >Up</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >imagick_list-magickifo</TD ></TR ></TABLE ></DIV ></BODY ></HTML > Index: pear/PECL/imagick/doc/function.imagick-rotate.html +++ pear/PECL/imagick/doc/function.imagick-rotate.html <HTML ><HEAD ><TITLE >imagick_rotate</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.73 "><LINK REL="HOME" TITLE="imagick Manual;" HREF="index.html"><LINK REL="UP" TITLE="Imagick Functions" HREF="ref.imagick.html"><LINK REL="PREVIOUS" TITLE="imagick_list-magickifo" HREF="function.list-magickinfo.html"><LINK REL="NEXT" TITLE="imagick_shear" HREF="function.imagick-shear.html"><META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=ISO-8859-1"></HEAD ><BODY CLASS="refentry" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >imagick Manual;</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="function.list-magickinfo.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="function.imagick-shear.html" ACCESSKEY="N" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><H1 ><A NAME="function.imagick-rotate" >imagick_rotate</A ></H1 ><DIV CLASS="refnamediv" ><A NAME="AEN831" ></A ><P > (unknown)</P >imagick_rotate&nbsp;--&nbsp; Rotates a picture </DIV ><DIV CLASS="refsect1" ><A NAME="AEN834" ></A ><H2 >Description</H2 ><DIV CLASS="funcsynopsis" ><A NAME="AEN836" ></A ><P ></P ><P ><CODE ><CODE CLASS="FUNCDEF" >bool <B CLASS="function" >imagick_rotate</B ></CODE > (resource imagick_handle, double degrees)</CODE ></P ><P ></P ></DIV ><DIV CLASS="warning" ><P ></P ><TABLE CLASS="warning" BORDER="1" WIDTH="100%" ><TR ><TD ALIGN="CENTER" ><B >Warning</B ></TD ></TR ><TR ><TD ALIGN="LEFT" ><P >This function is <SPAN CLASS="emphasis" ><I CLASS="emphasis" >EXPERIMENTAL</I ></SPAN >. That means, that the behaviour of this function, this function name, in concreto ANYTHING documented here can change in a future release of PHP WITHOUT NOTICE. Be warned, and use this function at your own risk.</P ></TD ></TR ></TABLE ></DIV ><P >&#13;. Positive angles rotate counter-clockwise (right-hand rule), while negative angles rotate clockwise. Rotated images are usually larger than the originals and have 'empty' triangular corners. Empty triangles left over from rotating the image are filled with the color defined by the pixel at location (0,0). </P ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="function.list-magickinfo.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="function.imagick-shear.html" ACCESSKEY="N" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >imagick_list-magickifo</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="ref.imagick.html" ACCESSKEY="U" >Up</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >imagick_shear</TD ></TR ></TABLE ></DIV ></BODY ></HTML > Index: pear/PECL/imagick/doc/function.imagick-sample.html +++ pear/PECL/imagick/doc/function.imagick-sample.html <HTML ><HEAD ><TITLE >imagick_sample</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.73 "><LINK REL="HOME" TITLE="imagick Manual;" HREF="index.html"><LINK REL="UP" TITLE="Imagick Functions" HREF="ref.imagick.html"><LINK REL="PREVIOUS" TITLE="imagick_crop" HREF="function.imagick-crop.html"><LINK REL="NEXT" TITLE="imagick_resize" HREF="function.imagick-resize.html"><META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=ISO-8859-1"></HEAD ><BODY CLASS="refentry" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >imagick Manual;</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="function.imagick-crop.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="function.imagick-resize.html" ACCESSKEY="N" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><H1 ><A NAME="function.imagick-sample" >imagick_sample</A ></H1 ><DIV CLASS="refnamediv" ><A NAME="AEN744" ></A ><P > (unknown)</P >imagick_sample&nbsp;--&nbsp; Scales an image to the desired dimensions with pixelsampling. </DIV ><DIV CLASS="refsect1" ><A NAME="AEN747" ></A ><H2 >Description</H2 ><DIV CLASS="funcsynopsis" ><A NAME="AEN749" ></A ><P ></P ><P ><CODE ><CODE CLASS="FUNCDEF" >bool <B CLASS="function" >imagick_sample</B ></CODE > (resource imagick_handle, int width, int height)</CODE ></P ><P ></P ></DIV ><DIV CLASS="warning" ><P ></P ><TABLE CLASS="warning" BORDER="1" WIDTH="100%" ><TR ><TD ALIGN="CENTER" ><B >Warning</B ></TD ></TR ><TR ><TD ALIGN="LEFT" ><P >This function is <SPAN CLASS="emphasis" ><I CLASS="emphasis" >EXPERIMENTAL</I ></SPAN >. That means, that the behaviour of this function, this function name, in concreto ANYTHING documented here can change in a future release of PHP WITHOUT NOTICE. Be warned, and use this function at your own risk.</P ></TD ></TR ></TABLE ></DIV ><P >&#13; Returns: <TT CLASS="constant" ><B >TRUE</B ></TT > on success, <TT CLASS="constant" ><B >FALSE</B ></TT > on error. </P ><P >&#13; Scales an image to the desired dimensions with pixelsampling. Unlike other scaling methods, this method does not introduceany additional color into the scaled image. </P ><P >&#13; See also: <A HREF="function.imagick-resize.html" ><B CLASS="function" >imagick_resize()</B ></A >. </P ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="function.imagick-crop.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="function.imagick-resize.html" ACCESSKEY="N" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >imagick_crop</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="ref.imagick.html" ACCESSKEY="U" >Up</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >imagick_resize</TD ></TR ></TABLE ></DIV ></BODY ></HTML > Index: pear/PECL/imagick/doc/function.imagick-set-attribute.html +++ pear/PECL/imagick/doc/function.imagick-set-attribute.html <HTML ><HEAD ><TITLE >imagick_set_attribute</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.73 "><LINK REL="HOME" TITLE="imagick Manual;" HREF="index.html"><LINK REL="UP" TITLE="Imagick Functions" HREF="ref.imagick.html"><LINK REL="PREVIOUS" TITLE="imagick_dump" HREF="function.imagick-dump.html"><LINK REL="NEXT" TITLE="imagick_get_attribute" HREF="function.imagick-get-attribute.html"><META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=ISO-8859-1"></HEAD ><BODY CLASS="refentry" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >imagick Manual;</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="function.imagick-dump.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="function.imagick-get-attribute.html" ACCESSKEY="N" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><H1 ><A NAME="function.imagick-set-attribute" >imagick_set_attribute</A ></H1 ><DIV CLASS="refnamediv" ><A NAME="AEN907" ></A ><P > (unknown)</P >imagick_set_attribute&nbsp;--&nbsp; Sets an image attribute. </DIV ><DIV CLASS="refsect1" ><A NAME="AEN910" ></A ><H2 >Description</H2 ><DIV CLASS="funcsynopsis" ><A NAME="AEN912" ></A ><P ></P ><P ><CODE ><CODE CLASS="FUNCDEF" >bool <B CLASS="function" >imagick_sample</B ></CODE > (resource imagick_handle, mixed attribute [, string attribute_value])</CODE ></P ><P ></P ></DIV ><DIV CLASS="warning" ><P ></P ><TABLE CLASS="warning" BORDER="1" WIDTH="100%" ><TR ><TD ALIGN="CENTER" ><B >Warning</B ></TD ></TR ><TR ><TD ALIGN="LEFT" ><P >This function is <SPAN CLASS="emphasis" ><I CLASS="emphasis" >EXPERIMENTAL</I ></SPAN >. That means, that the behaviour of this function, this function name, in concreto ANYTHING documented here can change in a future release of PHP WITHOUT NOTICE. Be warned, and use this function at your own risk.</P ></TD ></TR ></TABLE ></DIV ><P >&#13; This function takes either two string with the attribute and the value, or a array with attributes as key and the values as values... </P ><P >&#13; At the moment following attributes are supported: <P ></P ><TABLE BORDER="0" ><TBODY ><TR ><TD >adjoin</TD ></TR ><TR ><TD >delay</TD ></TR ><TR ><TD >format</TD ></TR ><TR ><TD >magick</TD ></TR ><TR ><TD >quality</TD ></TR ><TR ><TD >size</TD ></TR ></TBODY ></TABLE ><P ></P > More Options will follow soon, it's more or less only copy&#38;paste work. </P ><DIV CLASS="note" ><BLOCKQUOTE CLASS="note" ><P ><B >Note: </B > For a detailed list of what the attributes are, see <A HREF="http://www.imagemagick.org/www/perl.html#seta" TARGET="_top" >http://www.imagemagick.org/www/perl.html#seta</A > </P ></BLOCKQUOTE ></DIV ><TABLE WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" CLASS="EXAMPLE" ><TR ><TD ><DIV CLASS="example" ><A NAME="AEN938" ></A ><P ><B >Example 1. <B CLASS="function" >imagick_set_attribue()</B > example</B ></P ><TABLE BORDER="0" BGCOLOR="#E0E0E0" CELLPADDING="5" ><TR ><TD ><PRE CLASS="php" >&#60;?php $handle = imagick_create () or die ("Could not create handle"); imagick_read($handle,"mypic.gif"); imagick_set_attribue($handle,"quality",10); imagick_write($handle,"mypic.jpg"); imagick_free($handle); ?&#62;</PRE ></TD ></TR ></TABLE ></DIV ></TD ></TR ></TABLE ><TABLE WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" CLASS="EXAMPLE" ><TR ><TD ><DIV CLASS="example" ><A NAME="AEN942" ></A ><P ><B >Example 2. <B CLASS="function" >imagick_set_attribue()</B > example with more than one attribute at once</B ></P ><TABLE BORDER="0" BGCOLOR="#E0E0E0" CELLPADDING="5" ><TR ><TD ><PRE CLASS="php" >&#60;?php $handle = imagick_create () or die ("Could not create handle"); imagick_read($handle,"mypic.gif"); imagick_set_attribue($handle,array("quality"=&#62;10,"format"=&#62;"jpeg"); imagick_write($handle,"mypic.jpg"); imagick_free($handle); ?&#62;</PRE ></TD ></TR ></TABLE ></DIV ></TD ></TR ></TABLE ><P >&#13; See also: <A HREF="function.imagick-get-attribute.html" ><B CLASS="function" >imagick_get_attribute()</B ></A >. </P ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="function.imagick-dump.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="function.imagick-get-attribute.html" ACCESSKEY="N" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >imagick_dump</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="ref.imagick.html" ACCESSKEY="U" >Up</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >imagick_get_attribute</TD ></TR ></TABLE ></DIV ></BODY ></HTML > Index: pear/PECL/imagick/doc/function.imagick-shear.html +++ pear/PECL/imagick/doc/function.imagick-shear.html <HTML ><HEAD ><TITLE >imagick_shear</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.73 "><LINK REL="HOME" TITLE="imagick Manual;" HREF="index.html"><LINK REL="UP" TITLE="Imagick Functions" HREF="ref.imagick.html"><LINK REL="PREVIOUS" TITLE="imagick_rotate" HREF="function.imagick-rotate.html"><LINK REL="NEXT" TITLE="imagick_morph" HREF="function.imagick-morph.html"><META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=ISO-8859-1"></HEAD ><BODY CLASS="refentry" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >imagick Manual;</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="function.imagick-rotate.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="function.imagick-morph.html" ACCESSKEY="N" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><H1 ><A NAME="function.imagick-shear" >imagick_shear</A ></H1 ><DIV CLASS="refnamediv" ><A NAME="AEN849" ></A ><P > (unknown)</P >imagick_shear&nbsp;--&nbsp; Sheares a picture </DIV ><DIV CLASS="refsect1" ><A NAME="AEN852" ></A ><H2 >Description</H2 ><DIV CLASS="funcsynopsis" ><A NAME="AEN854" ></A ><P ></P ><P ><CODE ><CODE CLASS="FUNCDEF" >bool <B CLASS="function" >imagick_shear</B ></CODE > (resource imagick_handle, double x_shear, double y_shear)</CODE ></P ><P ></P ></DIV ><DIV CLASS="warning" ><P ></P ><TABLE CLASS="warning" BORDER="1" WIDTH="100%" ><TR ><TD ALIGN="CENTER" ><B >Warning</B ></TD ></TR ><TR ><TD ALIGN="LEFT" ><P >This function is <SPAN CLASS="emphasis" ><I CLASS="emphasis" >EXPERIMENTAL</I ></SPAN >. That means, that the behaviour of this function, this function name, in concreto ANYTHING documented here can change in a future release of PHP WITHOUT NOTICE. Be warned, and use this function at your own risk.</P ></TD ></TR ></TABLE ></DIV ><P >&#13; Shearing slides one edge of an image along the X or Y axis, creating a parallelogram. An X direction shear slides an edge along the X axis, while a Y direction shear slides an edge along the Y axis. The amount of the shear is controlled by a shear angle. For X direction shears, x_shear is measured relative to the Y axis, and similarly, for Y direction shears y_shear is measured relative to the X axis. Empty triangles left over from shearing the image are filled with the color defined by the pixel at location (0,0). </P ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="function.imagick-rotate.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="function.imagick-morph.html" ACCESSKEY="N" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >imagick_rotate</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="ref.imagick.html" ACCESSKEY="U" >Up</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >imagick_morph</TD ></TR ></TABLE ></DIV ></BODY ></HTML > Index: pear/PECL/imagick/doc/function.imagick-write.html +++ pear/PECL/imagick/doc/function.imagick-write.html <HTML ><HEAD ><TITLE >imagick_write</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.73 "><LINK REL="HOME" TITLE="imagick Manual;" HREF="index.html"><LINK REL="UP" TITLE="Imagick Functions" HREF="ref.imagick.html"><LINK REL="PREVIOUS" TITLE="imagick_read" HREF="function.imagick-read.html"><LINK REL="NEXT" TITLE="imagick_free" HREF="function.imagick-free.html"><META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=ISO-8859-1"></HEAD ><BODY CLASS="refentry" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >imagick Manual;</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="function.imagick-read.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="function.imagick-free.html" ACCESSKEY="N" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><H1 ><A NAME="function.imagick-write" >imagick_write</A ></H1 ><DIV CLASS="refnamediv" ><A NAME="AEN641" ></A ><P > (unknown)</P >imagick_write&nbsp;--&nbsp; Writes the image to a file. </DIV ><DIV CLASS="refsect1" ><A NAME="AEN644" ></A ><H2 >Description</H2 ><DIV CLASS="funcsynopsis" ><A NAME="AEN646" ></A ><P ></P ><P ><CODE ><CODE CLASS="FUNCDEF" >bool <B CLASS="function" >imagick_write</B ></CODE > (resource imagick_handle, string filename)</CODE ></P ><P ></P ></DIV ><DIV CLASS="warning" ><P ></P ><TABLE CLASS="warning" BORDER="1" WIDTH="100%" ><TR ><TD ALIGN="CENTER" ><B >Warning</B ></TD ></TR ><TR ><TD ALIGN="LEFT" ><P >This function is <SPAN CLASS="emphasis" ><I CLASS="emphasis" >EXPERIMENTAL</I ></SPAN >. That means, that the behaviour of this function, this function name, in concreto ANYTHING documented here can change in a future release of PHP WITHOUT NOTICE. Be warned, and use this function at your own risk.</P ></TD ></TR ></TABLE ></DIV ><P >&#13; Returns: <TT CLASS="constant" ><B >TRUE</B ></TT > on success, <TT CLASS="constant" ><B >FALSE</B ></TT > on error. </P ><P >&#13; The <TT CLASS="parameter" ><I >filename</I ></TT > parameter is a filename on your local filesystem. ImageMagick tries to find out the imageformat with the file-extension you provide. If that failes or if you want another imageformat, you can prefix the filename with the imageformat-code plus :. See <B CLASS="function" >image_read()</B > for a detailed list of all supported imageformats. </P ><P >&#13; <TABLE WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" CLASS="EXAMPLE" ><TR ><TD ><DIV CLASS="example" ><A NAME="AEN664" ></A ><P ><B >Example 1. <B CLASS="function" >imagick_write()</B > example</B ></P ><TABLE BORDER="0" BGCOLOR="#E0E0E0" CELLPADDING="5" ><TR ><TD ><PRE CLASS="php" >&#60;?php $handle = image_new(); or die ("Could not connect"); imagick_read($handle,"mypic.gif"); imagick_write($handle,"mypic.png","PNG"); imagick_free($handle); ?&#62;</PRE ></TD ></TR ></TABLE ></DIV ></TD ></TR ></TABLE > </P ><P >&#13; See also: <A HREF="function.imagick-read.html" ><B CLASS="function" >imagick_read()</B ></A >, <A HREF="function.imagick-convert.html" ><B CLASS="function" >imagick_convert()</B ></A >, <A HREF="function.imagick-dump.html" ><B CLASS="function" >imagick_dump()</B ></A >. </P ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="function.imagick-read.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="function.imagick-free.html" ACCESSKEY="N" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >imagick_read</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="ref.imagick.html" ACCESSKEY="U" >Up</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >imagick_free</TD ></TR ></TABLE ></DIV ></BODY ></HTML > Index: pear/PECL/imagick/doc/function.list-magickinfo.html +++ pear/PECL/imagick/doc/function.list-magickinfo.html <HTML ><HEAD ><TITLE >imagick_list-magickifo</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.73 "><LINK REL="HOME" TITLE="imagick Manual;" HREF="index.html"><LINK REL="UP" TITLE="Imagick Functions" HREF="ref.imagick.html"><LINK REL="PREVIOUS" TITLE="imagick_resize" HREF="function.imagick-resize.html"><LINK REL="NEXT" TITLE="imagick_rotate" HREF="function.imagick-rotate.html"><META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=ISO-8859-1"></HEAD ><BODY CLASS="refentry" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >imagick Manual;</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="function.imagick-resize.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="function.imagick-rotate.html" ACCESSKEY="N" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><H1 ><A NAME="function.list-magickinfo" >imagick_list-magickifo</A ></H1 ><DIV CLASS="refnamediv" ><A NAME="AEN816" ></A ><P > (unknown)</P >imagick_list-magickifo&nbsp;--&nbsp; Lists the image formats to a file </DIV ><DIV CLASS="refsect1" ><A NAME="AEN819" ></A ><H2 >Description</H2 ><DIV CLASS="funcsynopsis" ><A NAME="AEN821" ></A ><P ></P ><P ><CODE ><CODE CLASS="FUNCDEF" >bool <B CLASS="function" >imagick_sample</B ></CODE > (string filename)</CODE ></P ><P ></P ></DIV ><DIV CLASS="warning" ><P ></P ><TABLE CLASS="warning" BORDER="1" WIDTH="100%" ><TR ><TD ALIGN="CENTER" ><B >Warning</B ></TD ></TR ><TR ><TD ALIGN="LEFT" ><P >This function is <SPAN CLASS="emphasis" ><I CLASS="emphasis" >EXPERIMENTAL</I ></SPAN >. That means, that the behaviour of this function, this function name, in concreto ANYTHING documented here can change in a future release of PHP WITHOUT NOTICE. Be warned, and use this function at your own risk.</P ></TD ></TR ></TABLE ></DIV ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="function.imagick-resize.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="function.imagick-rotate.html" ACCESSKEY="N" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >imagick_resize</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="ref.imagick.html" ACCESSKEY="U" >Up</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >imagick_rotate</TD ></TR ></TABLE ></DIV ></BODY ></HTML > Index: pear/PECL/imagick/doc/ref.imagick.html +++ pear/PECL/imagick/doc/ref.imagick.html <HTML ><HEAD ><TITLE >Imagick Functions</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.73 "><LINK REL="HOME" TITLE="imagick Manual;" HREF="index.html"><LINK REL="UP" TITLE="Function Reference" HREF="funcref.html"><LINK REL="PREVIOUS" TITLE="Function Reference" HREF="funcref.html"><LINK REL="NEXT" TITLE="imagick_create" HREF="function.imagick-create.html"><META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=ISO-8859-1"></HEAD ><BODY CLASS="reference" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >imagick Manual;</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="funcref.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="function.imagick-create.html" ACCESSKEY="N" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><DIV CLASS="reference" ><A NAME="ref.imagick" ></A ><DIV CLASS="TITLEPAGE" ><H1 CLASS="title" >I. Imagick Functions</H1 ><DIV CLASS="PARTINTRO" ><A NAME="AEN8" ></A ><DIV CLASS="warning" ><P ></P ><TABLE CLASS="warning" BORDER="1" WIDTH="100%" ><TR ><TD ALIGN="CENTER" ><B >Warning</B ></TD ></TR ><TR ><TD ALIGN="LEFT" ><P >This module is <SPAN CLASS="emphasis" ><I CLASS="emphasis" >EXPERIMENTAL</I ></SPAN >. That means, that the behaviour of these functions, these function names, in concreto ANYTHING documented here can change in a future release of PHP WITHOUT NOTICE. Be warned, and use this module at your own risk.</P ></TD ></TR ></TABLE ></DIV ><DIV CLASS="sect1" ><H1 CLASS="sect1" ><A NAME="imagick.partintro" >Introduction</A ></H1 ><DIV CLASS="sect2" ><H2 CLASS="sect2" ><A NAME="imagick.intro" >About ImageMagick</A ></H2 ><P >&#13; ImageMagick is a robust collection of tools and libraries to read, write, and manipulate an image in many image formats (over 68 major formats) including popular formats like TIFF, JPEG, PNG, PDF, PhotoCD, and GIF. With ImageMagick you can create images dynamically, making it suitable for Web applications. You can also resize, rotate, sharpen, color reduce, or add special effects to an image and save your completed work in the same or differing image format. </P ><DIV CLASS="note" ><BLOCKQUOTE CLASS="note" ><P ><B >Note: </B > The above text is from the ImageMagick Website (<A HREF="http://www.imagemagick.org/" TARGET="_top" >http://www.imagemagick.org</A >), therefore not everything does apply to this extension at the moment, but it will some time in the future. Hopefully. And the link above is also a great source, if you don't understand everything here. </P ></BLOCKQUOTE ></DIV ></DIV ><DIV CLASS="sect2" ><H2 CLASS="sect2" ><A NAME="imagick.install" >Installation</A ></H2 ><P >&#13; short installation note: <P ></P ><TABLE BORDER="0" ><TBODY ><TR ><TD >- untar the imagick.tgz archive into php4/ext (available from <A HREF="http://pear.chregu.tv/imagick.tgz" TARGET="_top" >http://pear.chregu.tv/imagick.tgz</A >)</TD ></TR ><TR ><TD >- run phpize in ext/imagick</TD ></TR ><TR ><TD >- run ./buildconf in php4</TD ></TR ><TR ><TD >- run configure with --with-imagick (and your other options)</TD ></TR ><TR ><TD >- make; make install</TD ></TR ><TR ><TD >- that's it.</TD ></TR ></TBODY ></TABLE ><P ></P > and you need the imagemagick header files to install it (and on my system i needed also the libwmf header files...) </P ></DIV ><DIV CLASS="sect2" ><H2 CLASS="sect2" ><A NAME="imagick.contact" >Contact Information</A ></H2 ><P >&#13;If you have comments, bugfixes, enhancements or want to help developping this beast, you can drop me a mail at <A HREF="mailto:chregu@php.net" TARGET="_top" >chregu@php.net</A > or <A HREF="mailto:chregu@bitflux.ch" TARGET="_top" >chregu@bitflux.ch</A >. Any help is very welcome. </P ></DIV ></DIV ></DIV ><DIV CLASS="TOC" ><DL ><DT ><B >Table of Contents</B ></DT ><DT ><A HREF="function.imagick-create.html" >imagick_create</A >&nbsp;--&nbsp;Creates a new ImageMagick handle</DT ><DT ><A HREF="function.imagick-read.html" >imagick_read</A >&nbsp;--&nbsp;Reads an image</DT ><DT ><A HREF="function.imagick-write.html" >imagick_write</A >&nbsp;--&nbsp; Writes the image to a file. </DT ><DT ><A HREF="function.imagick-free.html" >imagick_free</A >&nbsp;--&nbsp; Frees an imagick handle and all the resources attached to it </DT ><DT ><A HREF="function.imagick-convert.html" >imagick_convert</A >&nbsp;--&nbsp; Converts a file to another file or dumps it to the browser </DT ><DT ><A HREF="function.imagick-crop.html" >imagick_crop</A >&nbsp;--&nbsp; Crops an image </DT ><DT ><A HREF="function.imagick-sample.html" >imagick_sample</A >&nbsp;--&nbsp; Scales an image to the desired dimensions with pixelsampling. </DT ><DT ><A HREF="function.imagick-resize.html" >imagick_resize</A >&nbsp;--&nbsp; Scales an image to the desired dimensions with a filter. </DT ><DT ><A HREF="function.list-magickinfo.html" >imagick_list-magickifo</A >&nbsp;--&nbsp; Lists the image formats to a file </DT ><DT ><A HREF="function.imagick-rotate.html" >imagick_rotate</A >&nbsp;--&nbsp; Rotates a picture </DT ><DT ><A HREF="function.imagick-shear.html" >imagick_shear</A >&nbsp;--&nbsp; Sheares a picture </DT ><DT ><A HREF="function.imagick-morph.html" >imagick_morph</A >&nbsp;--&nbsp; Morphes at least 2 pictures </DT ><DT ><A HREF="function.imagick-dump.html" >imagick_dump</A >&nbsp;--&nbsp; Dumps the picture to the output (mostly the browser) </DT ><DT ><A HREF="function.imagick-set-attribute.html" >imagick_set_attribute</A >&nbsp;--&nbsp; Sets an image attribute. </DT ><DT ><A HREF="function.imagick-get-attribute.html" >imagick_get_attribute</A >&nbsp;--&nbsp; Gets an image attribute. </DT ></DL ></DIV ></DIV ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="funcref.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="function.imagick-create.html" ACCESSKEY="N" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >Function Reference</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="funcref.html" ACCESSKEY="U" >Up</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >imagick_create</TD ></TR ></TABLE ></DIV ></BODY ></HTML > Index: pear/PECL/imagick/xml/imagick.xml +++ pear/PECL/imagick/xml/imagick.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <reference id="ref.imagick"> <title>Imagick Functions</title> <titleabbrev>imagick</titleabbrev> <partintro> &warn.experimental; <sect1 id="imagick.partintro"> <title>Introduction</title> <sect2 id="imagick.intro"> <title>About ImageMagick</title> <para> ImageMagick is a robust collection of tools and libraries to read, write, and manipulate an image in many image formats (over 68 major formats) including popular formats like TIFF, JPEG, PNG, PDF, PhotoCD, and GIF. With ImageMagick you can create images dynamically, making it suitable for Web applications. You can also resize, rotate, sharpen, color reduce, or add special effects to an image and save your completed work in the same or differing image format. </para> <note> <para> The above text is from the ImageMagick Website (<ulink url="http://www.imagemagick.org/">http://www.imagemagick.org</ulink>), therefore not everything does apply to this extension at the moment, but it will some time in the future. Hopefully. And the link above is also a great source, if you don't understand everything here. </para> </note> </sect2> <sect2 id="imagick.install"> <title>Installation</title> <para> short installation note: <simplelist> <member>- untar the imagick.tgz archive into php4/ext (available from <ulink url="http://pear.chregu.tv/imagick.tgz">http://pear.chregu.tv/imagick.tgz</ulink>)</member> <member>- run phpize in ext/imagick</member> <member>- run ./buildconf in php4</member> <member>- run configure with --with-imagick (and your other options)</member> <member>- make; make install</member> <member>- that's it.</member> </simplelist> and you need the imagemagick header files to install it (and on my system i needed also the libwmf header files...) </para> </sect2> <sect2 id="imagick.contact"> <title>Contact Information</title> <para> If you have comments, bugfixes, enhancements or want to help developping this beast, you can drop me a mail at <ulink url="mailto:chregu@php.net">chregu@php.net</ulink> or <ulink url="mailto:chregu@bitflux.ch">chregu@bitflux.ch</ulink>. Any help is very welcome. </para> </sect2> </sect1> </partintro> <refentry id="function.imagick-create"> <refnamediv> <refname>imagick_create</refname> <refpurpose>Creates a new ImageMagick handle</refpurpose> </refnamediv> <refsect1> <title>Description</title> <funcsynopsis> <funcprototype> <funcdef>resource <function>imagick_create</function></funcdef> <paramdef><parameter>void</parameter></paramdef> </funcprototype> </funcsynopsis> &warn.experimental.func; <para> Returns a handle on success, &false; on error. </para> <example> <title><function>imagick_create</function> example</title> <programlisting role="php"> <![CDATA[ <?php $handle = imagick_create () or die ("Could not create handle"); print("Connected successfully"); imagick_free($handle); ?> ]]> </programlisting> </example> <para> See also: <function>imagick_free</function>. </para> </refsect1> </refentry> <refentry id="function.imagick-read"> <refnamediv> <refname>imagick_read</refname> <refpurpose>Reads an image</refpurpose> </refnamediv> <refsect1> <title>Description</title> <funcsynopsis> <funcprototype> <funcdef>boolean <function>imagick_read</function></funcdef> <paramdef>resource <parameter>imagick_handle</parameter></paramdef> <paramdef>mixed <parameter>filename</parameter></paramdef> </funcprototype> </funcsynopsis> &warn.experimental.func; <para> Returns: &true; on success, &false; on error. </para> <para> The <parameter>filename</parameter> parameter can be either a filename on your local filesystem or a URL (e.g. http://my.server.com/picture.gif) or an array containing more than one string with filenames for multiple image support. The imageformat should be recognized automatically by imagick. If <function>imagick_read</function> does not recognize the imageformat, you can prefix the filename with the image format abbreviation plus a : (e.g. GIF:mygif.gif). Following imageformats are supported with ImageMagick 5.4.0. </para> <para> <table> <title>Supported image formats by ImageMagick</title> <tgroup cols="3"> <thead> <row> <entry>Image Type</entry> <entry>Read/Write Support</entry> <entry>Description</entry> </row> </thead> <tbody> <row><entry>8BIM*</entry><entry>rw-</entry><entry>Photoshop resource format</entry></row> <row><entry>AFM*</entry><entry>r--</entry><entry>TrueType font</entry></row> <row><entry>APP1*</entry><entry>rw-</entry><entry>Photoshop resource format</entry></row> <row><entry>ART*</entry><entry>r--</entry><entry>PF1: 1st Publisher</entry></row> <row><entry>AVI*</entry><entry>r--</entry><entry>Audio/Visual Interleaved</entry></row> <row><entry>AVS*</entry><entry>rw+</entry><entry>AVS X image</entry></row> <row><entry>BIE*</entry><entry>rw-</entry><entry>Joint Bi-level Image experts Group interchange format</entry></row> <row><entry>BMP*</entry><entry>rw+</entry><entry>Microsoft Windows bitmap image</entry></row> <row><entry>CMYK*</entry><entry>rw+</entry><entry>Raw cyan, magenta, yellow, and black bytes</entry></row> <row><entry>CMYKA*</entry><entry>rw+</entry><entry>Raw cyan, magenta, yellow, black, and matte bytes</entry></row> <row><entry>CUT*</entry><entry>r--</entry><entry>DR Hallo</entry></row> <row><entry>DCM*</entry><entry>r--</entry><entry>Digital Imaging and Communications in Medicine image</entry></row> <row><entry>DCX*</entry><entry>rw+</entry><entry>ZSoft IBM PC multi-page Paintbrush</entry></row> <row><entry>DIB*</entry><entry>rw+</entry><entry>Microsoft Windows bitmap image</entry></row> <row><entry>DPX*</entry><entry>rw+</entry><entry>Digital Moving Picture Exchange</entry></row> <row><entry>EPDF*</entry><entry>rw-</entry><entry>Encapsulated Portable Document Format</entry></row> <row><entry>EPI*</entry><entry>rw-</entry><entry>Adobe Encapsulated PostScript Interchange format</entry></row> <row><entry>EPS*</entry><entry>rw-</entry><entry>Adobe Encapsulated PostScript</entry></row> <row><entry>EPS2*</entry><entry>-w-</entry><entry>Adobe Level II Encapsulated PostScript</entry></row> <row><entry>EPS3*</entry><entry>-w+</entry><entry>Adobe Level III Encapsulated PostScript</entry></row> <row><entry>EPSF*</entry><entry>rw-</entry><entry>Adobe Encapsulated PostScript</entry></row> <row><entry>EPSI*</entry><entry>rw-</entry><entry>Adobe Encapsulated PostScript Interchange format</entry></row> <row><entry>EPT*</entry><entry>rw-</entry><entry>Adobe Encapsulated PostScript with TIFF preview</entry></row> <row><entry>FAX*</entry><entry>rw+</entry><entry>Group 3 FAX</entry></row> <row><entry>FILE*</entry><entry>r--</entry><entry>Uniform Resource Locator</entry></row> <row><entry>FITS*</entry><entry>rw-</entry><entry>Flexible Image Transport System</entry></row> <row><entry>FPX*</entry><entry>rw-</entry><entry>FlashPix Format</entry></row> <row><entry>FTP*</entry><entry>r--</entry><entry>Uniform Resource Locator</entry></row> <row><entry>G3*</entry><entry>rw-</entry><entry>Group 3 FAX</entry></row> <row><entry>GIF*</entry><entry>rw+</entry><entry>CompuServe graphics interchange format</entry></row> <row><entry>GIF87*</entry><entry>rw-</entry><entry>CompuServe graphics interchange format (version 87a)</entry></row> <row><entry>GRADIENT*</entry><entry>r--</entry><entry>Gradual passing from one shade to another</entry></row> <row><entry>GRANITE*</entry><entry>r--</entry><entry>Granite texture</entry></row> <row><entry>GRAY*</entry><entry>rw+</entry><entry>Raw gray bytes</entry></row> <row><entry>H*</entry><entry>rw-</entry><entry>Internal format</entry></row> <row><entry>HDF</entry><entry>rw+</entry><entry>Hierarchical Data Format</entry></row> <row><entry>HISTOGRAM*</entry><entry>-w-</entry><entry>Histogram of the image</entry></row> <row><entry>HTM*</entry><entry>-w-</entry><entry>Hypertext Markup Language and a client-side image map</entry></row> <row><entry>HTML*</entry><entry>-w-</entry><entry>Hypertext Markup Language and a client-side image map</entry></row> <row><entry>HTTP*</entry><entry>r--</entry><entry>Uniform Resource Locator</entry></row> <row><entry>ICB*</entry><entry>rw+</entry><entry>Truevision Targa image</entry></row> <row><entry>ICM*</entry><entry>rw-</entry><entry>ICC Color Profile</entry></row> <row><entry>ICO*</entry><entry>r--</entry><entry>Microsoft icon</entry></row> <row><entry>ICON*</entry><entry>r--</entry><entry>Microsoft icon</entry></row> <row><entry>IPTC*</entry><entry>rw-</entry><entry>IPTC Newsphoto</entry></row> <row><entry>JBG*</entry><entry>rw+</entry><entry>Joint Bi-level Image experts Group interchange format</entry></row> <row><entry>JBIG*</entry><entry>rw+</entry><entry>Joint Bi-level Image experts Group interchange format</entry></row> <row><entry>JP2*</entry><entry>rw-</entry><entry>JPEG-2000 JP2 File Format Syntax</entry></row> <row><entry>JPC*</entry><entry>rw-</entry><entry>JPEG-2000 Code Stream Syntax</entry></row> <row><entry>JPEG*</entry><entry>rw-</entry><entry>Joint Photographic Experts Group JFIF format</entry></row> <row><entry>JPG*</entry><entry>rw-</entry><entry>Joint Photographic Experts Group JFIF format</entry></row> <row><entry>LABEL*</entry><entry>r--</entry><entry>Text image format</entry></row> <row><entry>LOGO*</entry><entry>rw-</entry><entry>ImageMagick Logo</entry></row> <row><entry>M2V*</entry><entry>rw+</entry><entry>MPEG Video Stream</entry></row> <row><entry>MAP*</entry><entry>rw-</entry><entry>Colormap intensities and indices</entry></row> <row><entry>MAT*</entry><entry>r--</entry><entry>MATLAB image format</entry></row> <row><entry>MATTE*</entry><entry>-w+</entry><entry>MATTE format</entry></row> <row><entry>MIFF*</entry><entry>rw+</entry><entry>Magick image format</entry></row> <row><entry>MNG*</entry><entry>rw+</entry><entry>Multiple-image Network Graphics</entry></row> <row><entry>MONO*</entry><entry>rw-</entry><entry>Bi-level bitmap in least-significant-byte first order</entry></row> <row><entry>MPC</entry><entry>rw-</entry><entry>Magick Persistent Cache image format</entry></row> <row><entry>MPEG*</entry><entry>rw+</entry><entry>MPEG Video Stream</entry></row> <row><entry>MPG*</entry><entry>rw+</entry><entry>MPEG Video Stream</entry></row> <row><entry>MTV*</entry><entry>rw+</entry><entry>MTV Raytracing image format</entry></row> <row><entry>MVG*</entry><entry>rw-</entry><entry>Magick Vector Graphics</entry></row> <row><entry>NETSCAPE*</entry><entry>r--</entry><entry>Netscape 216 color cube</entry></row> <row><entry>NULL*</entry><entry>r--</entry><entry>Constant image of uniform color</entry></row> <row><entry>OTB*</entry><entry>rw-</entry><entry>On-the-air bitmap</entry></row> <row><entry>P7*</entry><entry>rw+</entry><entry>Xv thumbnail format</entry></row> <row><entry>PAL*</entry><entry>rw-</entry><entry>16bit/pixel interleaved YUV</entry></row> <row><entry>PBM*</entry><entry>rw+</entry><entry>Portable bitmap format (black and white)</entry></row> <row><entry>PCD*</entry><entry>rw-</entry><entry>Photo CD</entry></row> <row><entry>PCDS*</entry><entry>rw-</entry><entry>Photo CD</entry></row> <row><entry>PCL*</entry><entry>-w-</entry><entry>Page Control Language</entry></row> <row><entry>PCT*</entry><entry>rw-</entry><entry>Apple Macintosh QuickDraw/PICT</entry></row> <row><entry>PCX*</entry><entry>rw-</entry><entry>ZSoft IBM PC Paintbrush</entry></row> <row><entry>PDB*</entry><entry>r--</entry><entry>Pilot Image Format</entry></row> <row><entry>PDF*</entry><entry>rw+</entry><entry>Portable Document Format</entry></row> <row><entry>PFB*</entry><entry>r--</entry><entry>TrueType font</entry></row> <row><entry>PFM*</entry><entry>r--</entry><entry>TrueType font</entry></row> <row><entry>PGM*</entry><entry>rw+</entry><entry>Portable graymap format (gray scale)</entry></row> <row><entry>PICON*</entry><entry>rw-</entry><entry>Personal Icon</entry></row> <row><entry>PICT*</entry><entry>rw-</entry><entry>Apple Macintosh QuickDraw/PICT</entry></row> <row><entry>PIX*</entry><entry>r--</entry><entry>Alias/Wavefront RLE image format</entry></row> <row><entry>PLASMA*</entry><entry>r--</entry><entry>Plasma fractal image</entry></row> <row><entry>PM*</entry><entry>rw-</entry><entry>X Windows system pixmap (color)</entry></row> <row><entry>PNG*</entry><entry>rw-</entry><entry>Portable Network Graphics</entry></row> <row><entry>PNM*</entry><entry>rw+</entry><entry>Portable anymap</entry></row> <row><entry>PPM*</entry><entry>rw+</entry><entry>Portable pixmap format (color)</entry></row> <row><entry>PREVIEW*</entry><entry>-w-</entry><entry>Show a preview an image enhancement, effect, or f/x</entry></row> <row><entry>PS*</entry><entry>rw+</entry><entry>Adobe PostScript</entry></row> <row><entry>PS2*</entry><entry>-w+</entry><entry>Adobe Level II PostScript</entry></row> <row><entry>PS3*</entry><entry>-w+</entry><entry>Adobe Level III PostScript</entry></row> <row><entry>PSD*</entry><entry>rw-</entry><entry>Adobe Photoshop bitmap</entry></row> <row><entry>PTIF*</entry><entry>rw-</entry><entry>Pyramid encoded TIFF</entry></row> <row><entry>PWP*</entry><entry>r--</entry><entry>Seattle Film Works</entry></row> <row><entry>RAS*</entry><entry>rw+</entry><entry>SUN Rasterfile</entry></row> <row><entry>RGB*</entry><entry>rw+</entry><entry>Raw red, green, and blue bytes</entry></row> <row><entry>RGBA*</entry><entry>rw+</entry><entry>Raw red, green, blue, and matte bytes</entry></row> <row><entry>RLA*</entry><entry>r--</entry><entry>Alias/Wavefront image</entry></row> <row><entry>RLE*</entry><entry>r--</entry><entry>Utah Run length encoded image</entry></row> <row><entry>SCT*</entry><entry>r--</entry><entry>Scitex HandShake</entry></row> <row><entry>SGI*</entry><entry>rw+</entry><entry>Irix RGB image</entry></row> <row><entry>SHTML*</entry><entry>-w-</entry><entry>Hypertext Markup Language and a client-side image map</entry></row> <row><entry>STEGANO*</entry><entry>r--</entry><entry>Steganographic image</entry></row> <row><entry>SUN*</entry><entry>rw+</entry><entry>SUN Rasterfile</entry></row> <row><entry>SVG*</entry><entry>rw+</entry><entry>Scalable Vector Gaphics</entry></row> <row><entry>TEXT*</entry><entry>rw+</entry><entry>Raw text</entry></row> <row><entry>TGA*</entry><entry>rw+</entry><entry>Truevision Targa image</entry></row> <row><entry>TIF*</entry><entry>rw+</entry><entry>Tagged Image File Format</entry></row> <row><entry>TIFF*</entry><entry>rw+</entry><entry>Tagged Image File Format</entry></row> <row><entry>TILE*</entry><entry>r--</entry><entry>Tile image with a texture</entry></row> <row><entry>TIM*</entry><entry>r--</entry><entry>PSX TIM</entry></row> <row><entry>TTF*</entry><entry>r--</entry><entry>TrueType font</entry></row> <row><entry>TXT*</entry><entry>rw+</entry><entry>Raw text</entry></row> <row><entry>UIL*</entry><entry>-w-</entry><entry>X-Motif UIL table</entry></row> <row><entry>UYVY*</entry><entry>rw-</entry><entry>16bit/pixel interleaved YUV</entry></row> <row><entry>VDA*</entry><entry>rw+</entry><entry>Truevision Targa image</entry></row> <row><entry>VICAR*</entry><entry>rw-</entry><entry>VICAR rasterfile format</entry></row> <row><entry>VID*</entry><entry>rw+</entry><entry>Visual Image Directory</entry></row> <row><entry>VIFF*</entry><entry>rw+</entry><entry>Khoros Visualization image</entry></row> <row><entry>VST*</entry><entry>rw+</entry><entry>Truevision Targa image</entry></row> <row><entry>WBMP*</entry><entry>rw-</entry><entry>Wireless Bitmap (level 0) image</entry></row> <row><entry>WMF</entry><entry>r--</entry><entry>Windows Meta File</entry></row> <row><entry>WPG*</entry><entry>r--</entry><entry>Word Perfect Graphics</entry></row> <row><entry>X*</entry><entry>rw-</entry><entry>X Image</entry></row> <row><entry>XBM*</entry><entry>rw-</entry><entry>X Windows system bitmap (black and white)</entry></row> <row><entry>XC*</entry><entry>r--</entry><entry>Constant image uniform color</entry></row> <row><entry>XML*</entry><entry>r--</entry><entry>Scalable Vector Gaphics</entry></row> <row><entry>XPM*</entry><entry>rw-</entry><entry>X Windows system pixmap (color)</entry></row> <row><entry>XV*</entry><entry>rw+</entry><entry>Khoros Visualization image</entry></row> <row><entry>XWD*</entry><entry>rw-</entry><entry>X Windows system window dump (color)</entry></row> <row><entry>YUV*</entry><entry>rw-</entry><entry>CCIR 601 4:1:1</entry></row> </tbody> </tgroup> </table> </para> <note> <para> r = read, w = write, * = native blob support </para> <para> On some platforms, ImageMagick automatically processes these extensions: .gz for Zip compression, .Z for Unix compression, .bz2 for block compression, and .pgp for PGP encryption. For example, a PNM image called image.pnm.gz is automatically uncompressed with the gzip program and the image is subsequently read. </para> </note> <para> <example> <title><function>imagick_read</function> example</title> <programlisting role="php"> <![CDATA[ <?php $handle = image_new(); or die ("Could not connect"); imagick_read($handle,"mypic.gif"); imagick_write($handle,"mypic.png"); imagick_free($handle); ?> ]]> </programlisting> </example> </para> <para> <example> <title><function>imagick_read</function> example with multiple images</title> <programlisting role="php"> <![CDATA[ <?php $handle = image_new(); or die ("Could not connect"); imagick_read($handle,array("mypic.gif","http://my.server.com/mypic.png")); imagick_write($handle,"PNG:mypic.myext"); imagick_free($handle); ?> ]]> </programlisting> </example> </para> <para> See also: <function>imagick_write</function>, <function>imagick_convert</function>. </para> </refsect1> </refentry> <refentry id="function.imagick-write"> <refnamediv> <refname>imagick_write</refname> <refpurpose> Writes the image to a file. </refpurpose> </refnamediv> <refsect1> <title>Description</title> <funcsynopsis> <funcprototype> <funcdef>bool <function>imagick_write</function></funcdef> <paramdef>resource <parameter>imagick_handle</parameter></paramdef> <paramdef>string <parameter>filename</parameter></paramdef> </funcprototype> </funcsynopsis> &warn.experimental.func; <para> Returns: &true; on success, &false; on error. </para> <para> The <parameter>filename</parameter> parameter is a filename on your local filesystem. ImageMagick tries to find out the imageformat with the file-extension you provide. If that failes or if you want another imageformat, you can prefix the filename with the imageformat-code plus :. See <function>image_read</function> for a detailed list of all supported imageformats. </para> <para> <example> <title><function>imagick_write</function> example</title> <programlisting role="php"> <![CDATA[ <?php $handle = image_new(); or die ("Could not connect"); imagick_read($handle,"mypic.gif"); imagick_write($handle,"mypic.png","PNG"); imagick_free($handle); ?> ]]> </programlisting> </example> </para> <para> See also: <function>imagick_read</function>, <function>imagick_convert</function>, <function>imagick_dump</function>. </para> </refsect1> </refentry> <refentry id="function.imagick-free"> <refnamediv> <refname>imagick_free</refname> <refpurpose> Frees an imagick handle and all the resources attached to it </refpurpose> </refnamediv> <refsect1> <title>Description</title> <funcsynopsis> <funcprototype> <funcdef>bool <function>imagick_free</function></funcdef> <paramdef>resource <parameter>imagick_handle</parameter></paramdef> </funcprototype> </funcsynopsis> &warn.experimental.func; <para> See also: <function>imagick_create</function>. </para> </refsect1> </refentry> <refentry id="function.imagick-convert"> <refnamediv> <refname>imagick_convert</refname> <refpurpose> Converts a file to another file or dumps it to the browser </refpurpose> </refnamediv> <refsect1> <title>Description</title> <funcsynopsis> <funcprototype> <funcdef>bool <function>imagick_convert</function></funcdef> <paramdef>string <parameter>input_file</parameter></paramdef> <paramdef>string <parameter>output_file</parameter></paramdef> <paramdef>string <parameter><optional>imageformat</optional></parameter></paramdef> </funcprototype> </funcsynopsis> &warn.experimental.func; <para> Returns: &true; on success, &false; on error. </para> <para> This is a wrapper for create, read, write/dump and free. If output_file is "-" or Null it dumps the image to the output (mostly the browser). If you dump it to the output, you can give a imageformat, if you want something else than the inputformat (most likely...). </para> <para> See also: <function>imagick_read</function>, <function>imagick_write</function>, <function>imagick_dump</function>. </para> </refsect1> </refentry> <refentry id="function.imagick-crop"> <refnamediv> <refname>imagick_crop</refname> <refpurpose> Crops an image </refpurpose> </refnamediv> <refsect1> <title>Description</title> <funcsynopsis> <funcprototype> <funcdef>bool <function>imagick_crop</function></funcdef> <paramdef>resource <parameter>imagick_handle</parameter></paramdef> <paramdef>int <parameter>width</parameter></paramdef> <paramdef>int <parameter>height</parameter></paramdef> <paramdef>int <parameter>x</parameter></paramdef> <paramdef>int <parameter>y</parameter></paramdef> </funcprototype> </funcsynopsis> &warn.experimental.func; <para> Returns: &true; on success, &false; on error. </para> </refsect1> </refentry> <refentry id="function.imagick-sample"> <refnamediv> <refname>imagick_sample</refname> <refpurpose> Scales an image to the desired dimensions with pixelsampling. </refpurpose> </refnamediv> <refsect1> <title>Description</title> <funcsynopsis> <funcprototype> <funcdef>bool <function>imagick_sample</function></funcdef> <paramdef>resource <parameter>imagick_handle</parameter></paramdef> <paramdef>int <parameter>width</parameter></paramdef> <paramdef>int <parameter>height</parameter></paramdef> </funcprototype> </funcsynopsis> &warn.experimental.func; <para> Returns: &true; on success, &false; on error. </para> <para> Scales an image to the desired dimensions with pixelsampling. Unlike other scaling methods, this method does not introduceany additional color into the scaled image. </para> <para> See also: <function>imagick_resize</function>. </para> </refsect1> </refentry> <refentry id="function.imagick-resize"> <refnamediv> <refname>imagick_resize</refname> <refpurpose> Scales an image to the desired dimensions with a filter. </refpurpose> </refnamediv> <refsect1> <title>Description</title> <funcsynopsis> <funcprototype> <funcdef>bool <function>imagick_resize</function></funcdef> <paramdef>resource <parameter>imagick_handle</parameter></paramdef> <paramdef>int <parameter>width</parameter></paramdef> <paramdef>int <parameter>height</parameter></paramdef> <paramdef>int <parameter>filter</parameter></paramdef> <paramdef>int <parameter>blur</parameter></paramdef> </funcprototype> </funcsynopsis> &warn.experimental.func; <para> Returns: &true; on success, &false; on error. </para> <para> The possible filters are: <simplelist> <member>IMAGICK_FILTER_UNDEFINED</member> <member>IMAGICK_FILTER_POINT</member> <member>IMAGICK_FILTER_BOX</member> <member>IMAGICK_FILTER_TRIANGLE</member> <member>IMAGICK_FILTER_HERMITE</member> <member>IMAGICK_FILTER_HANNING</member> <member>IMAGICK_FILTER_HAMMING</member> <member>IMAGICK_FILTER_BLACKMAN</member> <member>IMAGICK_FILTER_GAUSSIAN</member> <member>IMAGICK_FILTER_QUADRATIC</member> <member>IMAGICK_FILTER_CUBIC</member> <member>IMAGICK_FILTER_CATROM</member> <member>IMAGICK_FILTER_MITCHELL</member> <member>IMAGICK_FILTER_LANCZOS</member> <member>IMAGICK_FILTER_BESSEL</member> <member>IMAGICK_FILTER_SINC</member> </simplelist> <parameter>blur</parameter> means the blur factor where > 1 is blurry, < 1 is sharp. </para> <para> See also: <function>imagick_sample</function>. </para> </refsect1> </refentry> <refentry id="function.list-magickinfo"> <refnamediv> <refname>imagick_list-magickifo</refname> <refpurpose> Lists the image formats to a file </refpurpose> </refnamediv> <refsect1> <title>Description</title> <funcsynopsis> <funcprototype> <funcdef>bool <function>imagick_sample</function></funcdef> <paramdef>string <parameter>filename</parameter></paramdef> </funcprototype> </funcsynopsis> &warn.experimental.func; </refsect1> </refentry> <refentry id="function.imagick-rotate"> <refnamediv> <refname>imagick_rotate</refname> <refpurpose> Rotates a picture </refpurpose> </refnamediv> <refsect1> <title>Description</title> <funcsynopsis> <funcprototype> <funcdef>bool <function>imagick_rotate</function></funcdef> <paramdef>resource <parameter>imagick_handle</parameter></paramdef> <paramdef>double <parameter>degrees</parameter></paramdef> </funcprototype> </funcsynopsis> &warn.experimental.func; <para> Positive angles rotate counter-clockwise (right-hand rule), while negative angles rotate clockwise. Rotated images are usually larger than the originals and have 'empty' triangular corners. Empty triangles left over from rotating the image are filled with the color defined by the pixel at location (0,0). </para> </refsect1> </refentry> <refentry id="function.imagick-shear"> <refnamediv> <refname>imagick_shear</refname> <refpurpose> Sheares a picture </refpurpose> </refnamediv> <refsect1> <title>Description</title> <funcsynopsis> <funcprototype> <funcdef>bool <function>imagick_shear</function></funcdef> <paramdef>resource <parameter>imagick_handle</parameter></paramdef> <paramdef>double <parameter>x_shear</parameter></paramdef> <paramdef>double <parameter>y_shear</parameter></paramdef> </funcprototype> </funcsynopsis> &warn.experimental.func; <para> Shearing slides one edge of an image along the X or Y axis, creating a parallelogram. An X direction shear slides an edge along the X axis, while a Y direction shear slides an edge along the Y axis. The amount of the shear is controlled by a shear angle. For X direction shears, x_shear is measured relative to the Y axis, and similarly, for Y direction shears y_shear is measured relative to the X axis. Empty triangles left over from shearing the image are filled with the color defined by the pixel at location (0,0). </para> </refsect1> </refentry> <refentry id="function.imagick-morph"> <refnamediv> <refname>imagick_morph</refname> <refpurpose> Morphes at least 2 pictures </refpurpose> </refnamediv> <refsect1> <title>Description</title> <funcsynopsis> <funcprototype> <funcdef>bool <function>imagick_shear</function></funcdef> <paramdef>resource <parameter>imagick_handle</parameter></paramdef> <paramdef>long <parameter>number_frames</parameter></paramdef> </funcprototype> </funcsynopsis> &warn.experimental.func; <para> This function requires a minimum of two images. The firstimage is transformed into the second by a number of intervening images as specified by frames. </para> </refsect1> </refentry> <refentry id="function.imagick-dump"> <refnamediv> <refname>imagick_dump</refname> <refpurpose> Dumps the picture to the output (mostly the browser) </refpurpose> </refnamediv> <refsect1> <title>Description</title> <funcsynopsis> <funcprototype> <funcdef>bool <function>imagick_dump</function></funcdef> <paramdef>resource <parameter>imagick_handle</parameter></paramdef> <paramdef>string <parameter><optional>imageformat</optional></parameter></paramdef> </funcprototype> </funcsynopsis> &warn.experimental.func; <para> See also: <function>imagick_write</function>. </para> </refsect1> </refentry> <refentry id="function.imagick-set-attribute"> <refnamediv> <refname>imagick_set_attribute</refname> <refpurpose> Sets an image attribute. </refpurpose> </refnamediv> <refsect1> <title>Description</title> <funcsynopsis> <funcprototype> <funcdef>bool <function>imagick_set_attribute</function></funcdef> <paramdef>resource <parameter>imagick_handle</parameter></paramdef> <paramdef>mixed <parameter>attribute</parameter></paramdef> <paramdef>string <parameter><optional>attribute_value</optional></parameter></paramdef> </funcprototype> </funcsynopsis> &warn.experimental.func; <para> This function takes either two string with the attribute and the value, or a array with attributes as key and the values as values... </para> <para> At the moment following attributes are supported: <simplelist> <member>adjoin</member> <member>delay</member> <member>format</member> <member>magick</member> <member>quality</member> <member>size</member> </simplelist> More Options will follow soon, it's more or less only copy&amp;paste work. </para> <note> <para> For a detailed list of what the attributes are, see <ulink url="http://www.imagemagick.org/www/perl.html#seta">http://www.imagemagick.org/www/perl.html#seta</ulink> </para> </note> <example> <title><function>imagick_set_attribue</function> example</title> <programlisting role="php"> <![CDATA[ <?php $handle = imagick_create () or die ("Could not create handle"); imagick_read($handle,"mypic.gif"); imagick_set_attribue($handle,"quality",10); imagick_write($handle,"mypic.jpg"); imagick_free($handle); ?> ]]> </programlisting> </example> <example> <title><function>imagick_set_attribue</function> example with more than one attribute at once</title> <programlisting role="php"> <![CDATA[ <?php $handle = imagick_create () or die ("Could not create handle"); imagick_read($handle,"mypic.gif"); imagick_set_attribue($handle,array("quality"=>10,"format"=>"jpeg"); imagick_write($handle,"mypic.jpg"); imagick_free($handle); ?> ]]> </programlisting> </example> <para> See also: <function>imagick_get_attribute</function>. </para> </refsect1> </refentry> <refentry id="function.imagick-get-attribute"> <refnamediv> <refname>imagick_get_attribute</refname> <refpurpose> Gets an image attribute. </refpurpose> </refnamediv> <refsect1> <title>Description</title> <funcsynopsis> <funcprototype> <funcdef>bool <function>imagick_sample</function></funcdef> <paramdef>resource <parameter>imagick_handle</parameter></paramdef> <paramdef>string <parameter>attribute_name</parameter></paramdef> </funcprototype> </funcsynopsis> &warn.experimental.func; <para> At the moment are following attributes supported: <simplelist> <member>format</member> <member>magick</member> <member>quality</member> <member>height</member> <member>width</member> </simplelist> </para> <para> See also: <function>imagick_set_attribute</function>. </para> </refsect1> </refentry> </reference> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -->
« previous php.pear.cvs (#1392) next »