Portál AbcLinuxu, 19. března 2024 04:27
Note: This function is only available if PHP is compiled with the bundled version of the GD library.A to je právě ono, zkoušel jsem to a pokud nainstaluji klasicky PHP (které je součástí distribuce Ubuntu) a pak přidám GD, tak jde jen pár funkcí, ale ne ty u kterých je tato poznámka...
<?php $im = imagecreatefrompng("/home/jenda/tmp/trashold0003.png"); imagefilter ( $im , IMG_FILTER_NEGATE); imagepng($im); ?>Nainstalované balíčky:
ii php5-cgi 5.3.9-1 server-side, HTML-embedded scripting language (CGI binary) ii php5-cli 5.3.9-1 command-line interpreter for the php5 scripting language ii php5-common 5.3.9-1 Common files for packages built from the php5 source ii php5-gd 5.3.9-1 GD module for php5 ii php5-suhosin 0.9.32.1-1 advanced protection module for php5
Tiskni Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.