You are here: Re: imagecreatefromxbm exists but imagexbm doesn't « PHP Programming Language « IT news, forums, messages
Re: imagecreatefromxbm exists but imagexbm doesn't

Posted by Andy Hassall on 12/17/61 11:53

On 20 Jul 2006 15:21:23 -0700, "comp.lang.php" <phillip.s.powell@gmail.com>
wrote:

>[PHP]
><?php
>
> echo function_exists('imagecreatefromxbm'); // PRODUCES 1
> echo function_exists('imagexbm'); // PRODUCES.. WELL.. NULL
>
>?>
>[/PHP]
>
>Use: PHP 4.3.9 with bundled GD 2.0.1
>
>Why would one function exist while the other not exist? Is this perhaps
>due to XBM (X-Bitmap) images being "read-only", or is it something
>else?

http://uk2.php.net/imagexbm
says:

"imagexbm (PHP 5)"

You're on PHP4, XBM generation appears to be specific to the bundled GD
library (core GD doesn't appear to support it, at least there's no imagexbm
function in the main API; PHP has a slightly modified version compared with the
official GD library), and so it seems it was added in a later version to the
one you have.

--
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация