> i want to generate the thumbnail of an image but I want my php to be > portable. How can I generate thumbnail without depending on php host > configuration (like --with-gd) ?
Along with the othe suggestions, Netpbm is something that you can package up with your application so that you are always sure it's available to it. http://netpbm.sourceforge.net/ Better yet, take the time to write an Image Abstraction Layer that'll function just like a Database Abstraction Layer. You use the same functions no matter what and depending on the config, either GD, Imagemagik, Netpbm, or whatever is used to do the dirty work. Does anyone know of such a project or want to write one? ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php