Hello, I save image database and retrive it. i want it thumbnail this image. i already code. its works but my image color look guly. Site link: http://xceedbd.com/gallery/ thumbnail link: http://xceedbd.com/gallery/view.php?recid=19 code: Please help me. How can i get good color.
Yes I think that will work. very rare I have seen this kind of problem. I will go through your code now and will get back to you Noddy
thanks for ur post. i tried ImageCreateTrueColor function but come error. can u clear me where i use it(ImageCreateTrueColor) my code
find this line at your code: $thumb=imagecreate($new_width,$new_height); PHP: replace it with this: $thumb=imagecreatetruecolor($new_width,$new_height); PHP: save it. done now your gallery will display images in true colors!
Any way other than using GDI library to resize images or creating thumbnails? I think, the quality of the thumbnails still reduces. Any other way, which preserves the quality while resizing?