批量删除图片的文本metadata

给用不起正版adobe软件的公司的。。。
用了graphicsmagick 的 mogrify 命令。

这个命令对jpeg没问题,但是png还会有software字段,可以使用下面的命令验证。

针对png的,可以用下边的方法

需要保证文件后缀跟文件类型匹配。

如果嫌弃exiftool生成_original的备份,可以改参数

于是命令可以换成

批量删除图片的文本metadata by @sskaje: https://sskaje.me/2015/08/%e6%89%b9%e9%87%8f%e5%88%a0%e9%99%a4%e5%9b%be%e7%89%87%e7%9a%84%e6%96%87%e6%9c%acmetadata/

Image Thumbnail Proxy

A friend of mine asked me how to check if a file exists remotely (http 404) so that he can create thumbnail for images which don’t have a thumbnail of that size.

As what he planned to do, a visitor browse his page, his script will check all images ready for rendering have a suitable thumbnail.

Checking a HTTP 404 is quite easy, but it’s not wise checking on page’s loading, if there are n images to be checked, a single page visit would makes server requests n to 2*n times for checking/generating thumbnail. These requests are useless at most time.
Continue reading “Image Thumbnail Proxy” »

Image Thumbnail Proxy by @sskaje: https://sskaje.me/2014/07/image-thumbnail-proxy/

Incoming search terms: