我使用以下代码使用现有图像创建 jpeg 图像。这些图像使用了嵌入的颜色配置文件,Adobe1998 颜色配置文件。
header("Content-type: image/jpeg");
$src = imagecreatefromjpeg($upfile);
$dst = imagecreatetruecolor($tn_width, $tn_height);
imagecopyresampled($dst, $src, 0, 0, 0, 0, $tn_width, $tn_height, $width, $height);
imagejpeg($dst,NULL,100);
imagedestroy($src);
imagedestroy($dst);
这里的问题是,当显示图像时,看不到嵌入的颜色配置文件。谁能帮我?可能是什么问题?
提前致谢