更改图像的白平衡-在php或html5中
我有一些代码,实际上是从本地服务器加载一个映像并将其服务到客户端更改图像的白平衡-在php或html5中,php,html,image,jpeg,Php,Html,Image,Jpeg,我有一些代码,实际上是从本地服务器加载一个映像并将其服务到客户端 header("Content-type: {$info['mime']}"); readfile($path); echo '<img src="data:image/jpeg;base64,'. base64_encode($path) .'" height="100" width="100"/>'; header(“内容类型:{$info['mime']}”); readfile($path); 回声'; 这
header("Content-type: {$info['mime']}");
readfile($path);
echo '<img src="data:image/jpeg;base64,'. base64_encode($path) .'" height="100" width="100"/>';
header(“内容类型:{$info['mime']}”);
readfile($path);
回声';
这很有效。然而,因为白平衡不是最优的,我想改变这一点。要么自动地,要么至少让天气总是暖和一点
最好的方法可能是在服务器端执行此操作。你知道我怎么做吗
谢谢我认为最好的方法是使用php中的图像库
请看下面的-。@AjAX。请在堆栈的这一区域使用英文参考。您有时间编辑。@FunkFortyNiner谢谢。我的错。