Welcome Guest, Not a member yet? Register   Sign In
Image class or GD problem
#1

[eluser]zoko2902[/eluser]
Hi all!

I've been testing the image library for a project and stumbled upon a wierd problem. Maybe I'm missing out on something and someone can point it out.

The image class outputs generated thumbs in grayscale. It just strips out all colors from it. It's like the class isn't using GD imagetruecolor. I'm not sure what's happening? Anyone has an idea?
#2

[eluser]zoko2902[/eluser]
I took a better look on those thumbnails and realized they where not grayscaled but more of a 256 colors schema. Reviseing my code I noticed that in config I was setting gd instead of gd2.

Problem now solved. Hope my noobing on this subject will help someone in the future Wink.

Over and out Big Grin.




Theme © iAndrew 2016 - Forum software by © MyBB