class.upload.php is a powerful and mature PHP class to manage uploaded files, and manipulate images in many ways. The script is available under a GPL license.
In photoshop you have to turn the image into RGB (truecolor) first before it will correctly scale up without pixalating, I dont know if that info helps.
I havent tried doing it in GD for awhile but I might give that a go and let you know what happens.
Yes, it is what I did, turn it into RGB mode before upsclaing it. In fact, I use The GIMP, which gives the same results as Photoshop.
It seems to me that GD might not be able to convert the color space from palette to RGB. I tried a few things, but always ended up with the same result. Alternatively, maybe the color space is converted to RGB, but the resize routine of GD are basic, and don't apply that "blur filter".
I also try with a bi-cubic resampling function, but downscaling looks bad, and upscaling looks the same (pixelated).Reply
Re: Converting of .gif files to jpg dont look right new!
In photoshop you have to turn the image into RGB (truecolor) first before it will correctly scale up without pixalating, I dont know if that info helps.
I havent tried doing it in GD for awhile but I might give that a go and let you know what happens.
Thanks,
Fusey
It seems to me that GD might not be able to convert the color space from palette to RGB. I tried a few things, but always ended up with the same result. Alternatively, maybe the color space is converted to RGB, but the resize routine of GD are basic, and don't apply that "blur filter".
I also try with a bi-cubic resampling function, but downscaling looks bad, and upscaling looks the same (pixelated).
It's not a major issue for me as hopefully everyone will upload at my preset size anyway.
Love the class, keep up the good work :)
PS. the new resize and crop function rocks!
Fusey