Re: Image issues..
| From: | Richard Whittaker | Date: | Thu, 15 Oct 2015 07:40:37 +0000 |
| Subject: | Re: Image issues.. | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-325199@lists.php.net to get a copy of this message | ||
On 2015-10-14 22:26, Adam Jon Richardson wrote:
Can you call gd_info() on both servers to get the image library info, too?Hi Adam: I had provided this in an earlier message to the list, but here it is again. gd_info() on the old server where everything works shows: array(12) {
["GD Version"]=>
string(26) "bundled (2.1.0 compatible)"
["FreeType Support"]=>
bool(true)
["FreeType Linkage"]=>
string(13) "with freetype"
["T1Lib Support"]=>
bool(false)
["GIF Read Support"]=>
bool(true)
["GIF Create Support"]=>
bool(true)
["JPEG Support"]=>
bool(true)
["PNG Support"]=>
bool(true)
["WBMP Support"]=>
bool(true)
["XPM Support"]=>
bool(false)
["XBM Support"]=>
bool(true)
["JIS-mapped Japanese Font Support"]=>
bool(false)
}
...on the new platform it shows:
root@www1:~# php ./gd_test.php
array(13) {
["GD Version"]=>
string(26) "bundled (2.1.0 compatible)"
["FreeType Support"]=>
bool(true)
["FreeType Linkage"]=>
string(13) "with freetype"
["T1Lib Support"]=>
bool(false)
["GIF Read Support"]=>
bool(true)
["GIF Create Support"]=>
bool(true)
["JPEG Support"]=>
bool(true)
["PNG Support"]=>
bool(true)
["WBMP Support"]=>
bool(true)
["XPM Support"]=>
bool(false)
["XBM Support"]=>
bool(true)
["WebP Support"]=>
bool(false)
["JIS-mapped Japanese Font Support"]=>
bool(false)
}
root@www1:~#
The pictures display what appears to be an issue with values above a certain threshold (i.e., all of the lighter colors a lost to black.) This may provide some clues once we have the gd info.Hoping this sheds some light, but the gd_info on both looks identical to me, other than the new server has support for something called WebP. :/ Thanks, Richard. -- Alberni Valley IT Services