Page 1 of 1
png problem
Posted: Sat May 06, 2006 9:30 pm
by kender
hi, when i try to upload a "png" to the media library i get
Code: Select all
Fatal error: imagepng() [<a href='function.imagepng'>function.imagepng</a>]: gd-png: fatal libpng error: zlib error in /usr/local/lib/php/s9y-supersized/include/functions_images.inc.php on line 1060
error
what's the problem?
Posted: Sun May 07, 2006 1:34 am
by jhermanns
hey,
thanks for reporting this issue. it seems to be a problem when calling php 5.1.x's imagepng function, which uses the compression level as third argument (0-9). in line 1060 you find
Code: Select all
$func['save']($out, $outfilename,100);
which should be
Code: Select all
$func['save']($out, $outfilename, 9);
fixed for supersized, garvin, what do you say (svn?)?
Posted: Sun May 07, 2006 12:54 pm
by garvinhicking
Jannis,
this has been fixed a while ago already
Regards,
garvin
Posted: Sun May 07, 2006 12:59 pm
by jhermanns
i was told not to update supersized.org to the latest dev build though
Posted: Sun May 07, 2006 1:01 pm
by garvinhicking
Hi!
That'S right, in 1.1alpha versions where this has been fixed, also many new MDB changes were committed.
They're ready for showtime/testtime now, though. So if you want, you can update. But it's related to many DB updates.
Regards,
Garvin