English 中文(简体)
是否有办法将一些数据树立成形象
原标题:Is there a way to set some data into an image

让我解释一下我试图做些什么,我正在建立一个与PHP的指挥线工具,利用这些方案优化网络形象。

imagemagick to determine file type and convert non-animated gif s to png
gifsicle to optimize Animated Gif images
jpegtran to optimize jpg images
pngcrush to optimize png image
pngquant to optimize png images to png8 format
pngout to optimize png images to png8 format

This is a pretty heavy process to be running, luckily it is done very infrequently but I would still like to optimize as much as I can.

现在处理大约12个图像的权利大约为76秒。 因此,你可以看到这是一个缓慢的过程,设想100个图像。

我真的希望是,显示一个最佳形象的形象,这样,当我装上一系列图像时,通过图像Magick获得准确档案类型所掌握的第一个东西,如果我能够embe地传递一个信息,说这种形象已经达到最佳程度,那么,如果我阅读图像,就会发现它所知道的信息,它不会浪费通过所有其他方案塑造特定形象的宝贵时间,如果可能的话,它会大大加快速度。

请帮助我,我没有被利用去做像样的图像,即便如此,如果有人问,我怎么办?

感谢任何帮助

最佳回答
问题回答

您可使用<条码>Comment 领域标注你们已经选择的形象,如:

convert x.jpg -set comment "Optimised" x.jpg

然后,当你处理时,你可以照此做:

identify -format "%c" x.jpg
Optimised




相关问题
Brute-force/DoS prevention in PHP [closed]

I am trying to write a script to prevent brute-force login attempts in a website I m building. The logic goes something like this: User sends login information. Check if username and password is ...

please can anyone check this while loop and if condition

<?php $con=mysql_connect("localhost","mts","mts"); if(!con) { die( unable to connect . mysql_error()); } mysql_select_db("mts",$con); /* date_default_timezone_set ("Asia/Calcutta"); $date = ...

定值美元

如何确认来自正确来源的数字。

Generating a drop down list of timezones with PHP

Most sites need some way to show the dates on the site in the users preferred timezone. Below are two lists that I found and then one method using the built in PHP DateTime class in PHP 5. I need ...

Text as watermarking in PHP

I want to create text as a watermark for an image. the water mark should have the following properties front: Impact color: white opacity: 31% Font style: regular, bold Bevel and Emboss size: 30 ...

How does php cast boolean variables?

How does php cast boolean variables? I was trying to save a boolean value to an array: $result["Users"]["is_login"] = true; but when I use debug the is_login value is blank. and when I do ...

热门标签