When I make a thumbnail from an existing image, the thumbnail doesn't have all the colors. I have tried using imagecopyresized and imagecopyresampled. I have GD 2+, and I don't know if im missing something. Here's an example of what's wrong:

Looks like:

The firetruck looks brown, not red.
Here's a piece of the code, I think it should be enough to get the point across.
$destimg=ImageCreate($new_width,$new_height) or die("Problem In Creating image");
$srcimg=ImageCreateFromJPEG($source_path.$image_name) or die("Problem In opening Source Image");
//imagecopyresized($destimg,$srcimg,0,0,0,0,$new_width,$new_height,ImageSX($srcimg),ImageSY($srcimg)) or die("Problem In resizing");
imagecopyresampled($destimg,$srcimg,0,0,0,0,$new_width,$new_height,ImageSX($srcimg),ImageSY($srcimg)) or die("Problem In resizing");
ImageJPEG($destimg,$destination_path . 'tn_' . $image_name) or die("Problem In saving");
Some pictures are worse, this one of a girl on a bench, and in the new image, you can only see the bench, not the girl.
