March 26, 2019, 01:02:40 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
   Home   Help Search Login Register  
Pages: [1]
Author Topic: PNG's not outputting with script  (Read 8353 times)
Posts: 1

« on: July 05, 2007, 03:34:20 AM »

Hi All i was having a few problems outputting png's with this script.
Would just output the URL, i fixed the problem but thought i would share the answer if anyone else faces the same issues

PHP 5.1's imagepng function take 3 paramaters, the final paramater is the quality whihc must be between 0 and 9 inclusive.
The default for this script is 100 , change it so somethign below 10 and your png's will work.

Hope this helps someone.

By the way Zubrag, very nice script, modular, easy to use, effective. Keep churning out that code

Hero Member
Posts: 788

« Reply #1 on: July 05, 2007, 05:11:24 AM »

Thanks for sharing Brett!

Updated thumbnail generator to automatically convert quality to from 0-100 to 0-9 when PNG image being processed. PHP 5.1.2 required to test PNG quality.

Could somebody try and provide a feedback?
Pages: [1]
Jump to:  

Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC