SMFHacks.com
** Home Forum Index Hacks Products Login Register Search
Welcome, Guest. Please login or register.
May 23, 2012, 07:51:10 am

Login with username, password and session length
Members
Total Members: 10069
Latest: tetsujrock
Stats
Total Posts: 28682
Total Topics: 4975
Online Today: 94
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 0
Guests: 57
Total: 57
+ 
|-+ 
| |-+ 
| | |-+ 
| | | |-+ 
0 Members and 2 Guests are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: gd image resizing error  (Read 3821 times)
nicks
Newbie
*
Offline Offline

Posts: 24


View Profile WWW
« on: October 23, 2006, 06:52:34 am »

error message in 1.1 beta when image size exceeds size limitation and function resize, is checked.

Fatal error: imagepng(): gd-png: fatal libpng error: Invalid number of colors in palette in /home/*****/public_html/forums/Sources/Subs-Graphics.php on line 202

  any idea  Huh
« Last Edit: October 23, 2006, 12:51:15 pm by nicks » Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9676


View Profile
« Reply #1 on: October 23, 2006, 03:37:29 pm »

hmm. Does it happen for all png photos?
Logged
nicks
Newbie
*
Offline Offline

Posts: 24


View Profile WWW
« Reply #2 on: October 23, 2006, 06:04:25 pm »

Actually I did not try to upload any png photo. Every photograph is in jpg format most in Grayscale and some in RGB mode and saved for web in Photoshop with less than 60 Kb weight. I tried to test this function with b&w and color jpg, both 20% image size limit exceeding..

..please sorry for my English
« Last Edit: October 23, 2006, 06:10:08 pm by nicks » Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9676


View Profile
« Reply #3 on: October 23, 2006, 06:32:10 pm »

Can you attach or send me a link to the photo?

The problem with this bug is it is linked to the SMF core.
Logged
nicks
Newbie
*
Offline Offline

Posts: 24


View Profile WWW
« Reply #4 on: October 24, 2006, 01:53:28 am »

The photos to be resized, never went to their target. I had to resize them manually down to the limits. So I don' have any link to them. It was the first test to this smf gallery function.

My site (and gallery) is here.

I had coppermine integrated till now. It was perfect connected but a little slower than my forum.
Your Gallery is much faster than any other module, and of course is ..SMF  Smiley

I can give you any file you need and also any permission to manage this bug

thanks again
« Last Edit: October 24, 2006, 01:55:09 am by nicks » Logged
nicks
Newbie
*
Offline Offline

Posts: 24


View Profile WWW
« Reply #5 on: October 28, 2006, 04:50:48 am »

I tried it into a test rc3 installation. Resizing works, but  images are now driven into a mode that Photoshop (at least) can not recognise them. They look like they have switched to 256 colors or someting purer in color depth..
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Recent
[May 21, 2012, 08:54:11 am]

[May 20, 2012, 11:06:52 am]

[May 20, 2012, 05:58:11 am]

[May 19, 2012, 06:16:58 pm]

[May 19, 2012, 05:42:37 pm]

[May 18, 2012, 03:08:38 pm]

[May 17, 2012, 06:07:46 pm]

[May 17, 2012, 02:22:07 pm]

[May 17, 2012, 12:38:16 pm]

[May 15, 2012, 09:32:27 pm]
Random Picture
Donate to SMFHacks.com
Help Support the SMFHacks.com mod making.
Powered by SMF 1.1.16 | SMF © 2006-2011, Simple Machines LLC
TinyPortal v0.9.7 © Bloc
SMF and SimpleMachines are registered trademarks of Simple Machines. SMFHacks.com is not affiliated with nor endorsed by Simple Machines.
Page created in 4.719 seconds with 19 queries.