<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>imagemagick &#8211; moneyslow.com</title>
	<atom:link href="https://moneyslow.com/tag/imagemagick/feed" rel="self" type="application/rss+xml" />
	<link>https://moneyslow.com</link>
	<description>making money with technology</description>
	<lastBuildDate>Tue, 11 Feb 2025 01:31:45 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.5</generator>
	<item>
		<title>报错解决办法mogrify-im6.q16: attempt to perform an operation not allowed by the security policy `@t.txt&#039; @ error/property.c/InterpretImageProperties/3706</title>
		<link>https://moneyslow.com/%e6%8a%a5%e9%94%99%e8%a7%a3%e5%86%b3%e5%8a%9e%e6%b3%95mogrify-im6-q16-attempt-to-perform-an-operation-not-allowed-by-the-security-policy-t-txt-error-property-c-interpretimageproperties-3706.html</link>
		
		<dc:creator><![CDATA[moneyslow]]></dc:creator>
		<pubDate>Fri, 29 Mar 2024 15:02:23 +0000</pubDate>
				<category><![CDATA[newest]]></category>
		<category><![CDATA[imagemagick]]></category>
		<guid isPermaLink="false">https://moneyslow.com/?p=18042</guid>

					<description><![CDATA[imagemagick报错解决办法]]></description>
		
		
		
			</item>
		<item>
		<title>使用 ImageMagick 的 Convert 命令给图片添加水印（mogrify打水印）</title>
		<link>https://moneyslow.com/%e4%bd%bf%e7%94%a8-imagemagick-%e7%9a%84-convert-%e5%91%bd%e4%bb%a4%e7%bb%99%e5%9b%be%e7%89%87%e6%b7%bb%e5%8a%a0%e6%b0%b4%e5%8d%b0.html</link>
		
		<dc:creator><![CDATA[moneyslow]]></dc:creator>
		<pubDate>Fri, 05 Jan 2024 05:59:55 +0000</pubDate>
				<category><![CDATA[newest]]></category>
		<category><![CDATA[imagemagick]]></category>
		<guid isPermaLink="false">https://moneyslow.com/?p=17468</guid>

					<description><![CDATA[用命令给图片加水印的方法]]></description>
		
		
		
			</item>
		<item>
		<title>convert(ImageMagick)支持处理webp格式图片（解决报错:convert: Not a JPEG file）</title>
		<link>https://moneyslow.com/convertimagemagick%e6%94%af%e6%8c%81%e5%a4%84%e7%90%86webp%e6%a0%bc%e5%bc%8f%e5%9b%be%e7%89%87%ef%bc%88%e8%a7%a3%e5%86%b3%e6%8a%a5%e9%94%99convert-not-a-jpeg-file%ef%bc%89.html</link>
		
		<dc:creator><![CDATA[moneyslow]]></dc:creator>
		<pubDate>Sat, 09 Sep 2023 05:19:08 +0000</pubDate>
				<category><![CDATA[newest]]></category>
		<category><![CDATA[imagemagick]]></category>
		<guid isPermaLink="false">https://moneyslow.com/?p=16486</guid>

					<description><![CDATA[ImageMagick处理webp格式图片]]></description>
		
		
		
			</item>
		<item>
		<title>imagemagick的convert命令实现图片的旋转、翻转、裁剪、裁切</title>
		<link>https://moneyslow.com/imagemagick%e7%9a%84convert%e5%91%bd%e4%bb%a4%e5%ae%9e%e7%8e%b0%e5%9b%be%e7%89%87%e7%9a%84%e6%97%8b%e8%bd%ac%e3%80%81%e7%bf%bb%e8%bd%ac%e3%80%81%e8%a3%81%e5%89%aa%e3%80%81%e8%a3%81%e5%88%87.html</link>
		
		<dc:creator><![CDATA[moneyslow]]></dc:creator>
		<pubDate>Sat, 08 Apr 2023 01:57:14 +0000</pubDate>
				<category><![CDATA[newest]]></category>
		<category><![CDATA[imagemagick]]></category>
		<guid isPermaLink="false">https://moneyslow.com/?p=16125</guid>

					<description><![CDATA[先查看imagemagick的版本 这是原图 a.jpeg]]></description>
		
		
		
			</item>
		<item>
		<title>identify 判断图片宽高相反解决办法</title>
		<link>https://moneyslow.com/identify-%e5%88%a4%e6%96%ad%e5%9b%be%e7%89%87%e5%ae%bd%e9%ab%98%e7%9b%b8%e5%8f%8d%e8%a7%a3%e5%86%b3%e5%8a%9e%e6%b3%95.html</link>
		
		<dc:creator><![CDATA[moneyslow]]></dc:creator>
		<pubDate>Sat, 21 Aug 2021 13:13:59 +0000</pubDate>
				<category><![CDATA[newest]]></category>
		<category><![CDATA[convert]]></category>
		<category><![CDATA[identify]]></category>
		<category><![CDATA[imagemagick]]></category>
		<guid isPermaLink="false">https://moneyslow.com/?p=13870</guid>

					<description><![CDATA[identify 命令可以判定图片宽度高度信息 # identify 33.jpeg 33.jpeg JPEG 842x653 842x653+0+0 8-bit sRGB 139KB 0.000u 0:00.000 但实际上这个图片显示是相反的方向 宽653 高842 所以identify 这样判断图片的宽度和高度是相反的。什么原因呢？ 其实并不是identify判断的有问题，而是没有取全图片的参数，图片的exif信息中有一项为orientation表示方向。 大白话解释就是你的宽高是从那个点开始计算的。 Exif的Orientation信息说明: 判断值： identify -format '%[exif:orientation]' xxx.jpeg 输出结果为 6 可能出现的数值也就是 1，3，6，8 1和3分别未0和180度，不会颠倒宽高，只需要处理是6和8的情况。 解决方案： 用convert 命令，判断图片的方向是为6或8时，使用-auto-orient 把6 改为1 shell 代码如下： orientation1=`identify -format '%[exif:orientation]' $i` echo "orientation1 is: " $orientation1 if [ [ $orientation1 -eq 6 ] [&#8230;]]]></description>
		
		
		
			</item>
		<item>
		<title>CentOS 6 / 7 : ImageMagick (CESA-2016:0726)安全漏洞修补</title>
		<link>https://moneyslow.com/centos-6-7-imagemagick-cesa-20160726%e5%ae%89%e5%85%a8%e6%bc%8f%e6%b4%9e%e4%bf%ae%e8%a1%a5.html</link>
		
		<dc:creator><![CDATA[moneyslow]]></dc:creator>
		<pubDate>Fri, 25 Oct 2019 08:12:56 +0000</pubDate>
				<category><![CDATA[newest]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[imagemagick]]></category>
		<guid isPermaLink="false">https://moneyslow.com/?p=9368</guid>

					<description><![CDATA[相关CVE编号：CVE: CVE-2016-3714 CVE-2016-3715 CVE-2016-3716 CVE-2016-3717 CVE-2016-3718如果直接升级可能会有报错：Error unpacking rpm package ImageMagick-6.7.8.9-18.el7.x86_64error: unpacking of archive failed on file /usr/bin/stream: cpio: rename是因为文件系统保护导致，去掉i选项：chattr -i /usr/bin/animatechattr -i /usr/bin/comparechattr -i /usr/bin/compositechattr -i /usr/bin/conjurechattr -i /usr/bin/convertchattr -i /usr/bin/displaychattr -i /usr/bin/identifychattr -i /usr/bin/importchattr -i /usr/bin/mogrifychattr -i /usr/bin/montagechattr -i /usr/bin/stream再升级：yum -y update ImageMagick升级完，记得加回去：chattr +i /usr/bin/animatechattr +i /usr/bin/comparechattr +i /usr/bin/compositechattr +i /usr/bin/conjurechattr +i /usr/bin/convertchattr +i [&#8230;]]]></description>
		
		
		
			</item>
		<item>
		<title>图片显示旋转问题Orientation参数</title>
		<link>https://moneyslow.com/%e5%9b%be%e7%89%87%e6%98%be%e7%a4%ba%e6%97%8b%e8%bd%ac%e9%97%ae%e9%a2%98.html</link>
		
		<dc:creator><![CDATA[moneyslow]]></dc:creator>
		<pubDate>Sun, 12 May 2019 04:51:05 +0000</pubDate>
				<category><![CDATA[newest]]></category>
		<category><![CDATA[exif]]></category>
		<category><![CDATA[imagemagick]]></category>
		<guid isPermaLink="false">https://moneyslow.com/?p=8636</guid>

					<description><![CDATA[相机拍摄的图片会有exif信息，有时候会给我们带来烦恼。图片放到windows上可以正常显示，但是mac下确不行。另一种情况是mac先显示正常，传到服务器上就不行了，这是怎么回事呢？原来是exif信息在某些情况下，mac会根据这些信息自动帮你旋转了，有时候反而不是你想要的结果。 EXIF（Exchangeable Image File）是“可交换图像文件”的缩写，当中包含了专门为数码相机的照片而定制的元数据，可以记录数码照片的拍摄参数、缩略图及其他属性信息。 图像一旦被修改，Exif信息可能会永久丢失，故编辑 Exif 必须使用专门的软件。 可以理解成，用来记录照片属性和拍摄数据的。 （可以附加于jpeg等文件中，但png图片中不会有。） Orientation EXIF中，有一个 Orientation 参数，用于记录照片生成时的方向。 一共有8个值，分别是：1、2*、3、4*、5*、6、7*、8。 正常情况下，拍照只会出现是1、6、3、8这几个值。2、5、4、7相当于镜像，照像时不会出现这几种情况。1、6、3、8的效果分别是： 1：0度（比如正常情况下我是这样拍摄的） 6：逆时针90度回到正常 3：180度回到正常 8：顺时针90度回到正常 Mac上为什么会是正常的呢？ Mac之所以会显示正常，是因为Mac的图片“预览”功能会自动根据Orientation参数处理照片方向。但实际上，照片是旋转的。 实际参数查看方法： 用Mac的预览的 工具 - 显示检查器 查看图片的EXIF 这里可以看到方向是6（逆时针旋转90度将回到正常） windows上默认的图片预览工具没有做处理，如果拍摄的时候是旋转的，那显示的也是旋转的。 在Mac上怎么转回来？ 用Mac的“预览”功能打开，再Command + S保存，参数就改变了，上传的图片就正了。 于是， Orientation参数就从6（逆时针旋转90度回到正常）变为了1（正常）。 6变为1 利用专业的修改EXIF的工具]]></description>
		
		
		
			</item>
		<item>
		<title>ImageMagick、imagick、ghostscript三者关系</title>
		<link>https://moneyslow.com/imagemagick%e3%80%81imagick%e3%80%81ghostscript%e4%b8%89%e8%80%85%e5%85%b3%e7%b3%bb.html</link>
		
		<dc:creator><![CDATA[moneyslow]]></dc:creator>
		<pubDate>Sun, 26 Aug 2018 13:03:14 +0000</pubDate>
				<category><![CDATA[newest]]></category>
		<category><![CDATA[ghostscript]]></category>
		<category><![CDATA[imagemagick]]></category>
		<category><![CDATA[Imagick]]></category>
		<guid isPermaLink="false">https://moneyslow.com/?p=8176</guid>

					<description><![CDATA[一、功能概述 ImageMagick是第三方的图片处理软件，功能要比GD强大。建议两者都安装，并不冲突。 imagick是php的一个扩展模块，它调用ImageMagick提供的API来进行图片的操作。 Ghostscript是一套建基于Adobe、PostScript及可移植文档格式（PDF）的页面描述语言等而编译成的免费软件。 Ghostscript最初是以商业软件形式在PC市场上发售，并称之为“GoScript”。但由于速度太慢（半小时一版A4），销量极差。后来有心人买下了版权，并改在Linux上开发，成为了今日的Ghostscript。 已经从Linux版本移植到其他操作系统，如其他Unix、Mac OS X、VMS、Windows、OS/2和Mac OS classic。 ImageMagick无法直接实现pdf文档到图片的转换，需要借助于gostscript软件包 二、安装方式 1、编译安装ImageMagick # tar xf ImageMagick-6.8.9-9.tar.gz # cd ImageMagick-6.8.9-9 # ./configure --prefix=/usr/local/imagemagick # make &#38;&#38; make install 编译安装完成之后记得配置./convert的环境变量 2、编译安装imagick # tar -xf imagick-3.2.0RC1.tgz # cd imagick-3.2.0RC1 # /usr/local/php/bin/phpize # ./configure --with-php-config=/usr/local/php/bin/php-config --with-imagick=/usr/local/imagemagick # make &#38;&#38; make install 3、编译安装Ghostscript # tar xf ghostscript-9.02.tar.gz # cd [&#8230;]]]></description>
		
		
		
			</item>
		<item>
		<title>使用imagemagick拼接图片&#038;Mac环境安装imagemagick及</title>
		<link>https://moneyslow.com/%e4%bd%bf%e7%94%a8imagemagick%e6%8b%bc%e6%8e%a5%e5%9b%be%e7%89%87mac%e7%8e%af%e5%a2%83%e5%ae%89%e8%a3%85imagemagick%e5%8f%8a.html</link>
		
		<dc:creator><![CDATA[moneyslow]]></dc:creator>
		<pubDate>Fri, 18 May 2018 00:41:12 +0000</pubDate>
				<category><![CDATA[newest]]></category>
		<category><![CDATA[imagemagick]]></category>
		<category><![CDATA[互联网赚钱]]></category>
		<guid isPermaLink="false">https://moneyslow.com/?p=8017</guid>

					<description><![CDATA[ImageMagick是一个免费的创建、编辑、合成图片的开源软件。它可以读取、转换、写入多种格式的图片。图片切割、颜色替换、各种效果的应用，图片的旋转、组合，文本，直线，多边形，椭圆，曲线，附加到图片伸展旋转。&#160; ImageMagick官网：http://www.imagemagick.org/&#160; 与ImageMagick功能类似的还有GraphicsMagick，GraphicsMagick号称图像处理领域的瑞士军刀。 短小精悍的代码却提供了一个鲁棒、高效的工具和库集合，来处理图像的读取、写入和操作，支持超过88种图像格式，包括重要的DPX、GIF、JPEG、JPEG-2000、PNG、PDF、PNM和TIFF。&#160; GraphicsMagick官网：http://www.graphicsmagick.org/&#160; 基于我主要的需求是图片合成（多张图片合成一张图片），且ImageMagick官网有着直接的命令操作教程，所以优先考虑了使用ImageMagick，查看资料过程中发现GraphicsMagick在某些特性上优于ImageMagick，等后期在做考究，且GraphicsMagick衍生于ImageMagick，熟悉了IM，GM想必不在话下。 言归正传吧。 我使用的是mac机器，刚开始，我是按照官网的步骤下载tar包到本地，然后解压，再配置一些环境变量，后来在使用时候，总是报错。&#160; 报错主要是如下两种：&#160; 1 no decode delegate for this image format `JPEG’&#160; 2 Abort trap: 6 imagemagick&#160; 针对第一种错误，搜索资料大多要求你去下载jpeg的delegate，针对第二种错误，却基本找不到方案。 无奈，只好按照官网上推荐的homebrew方式来安装了。 homebrew是啥呢？ 可以参考这里https://brew.sh/ 通过这种方式成功安装且可以正常使用。 步骤1：下载XQuartz-2.7.11.dmg 下载地址：https://www.xquartz.org/&#160; 步骤2：安装homebrew&#160; shell中执行如下命令&#160; /usr/bin/ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)”&#160; 步骤2 要在非root用户下执行 步骤3 执行命令&#160; brew install imagemagick 至此，imagemagick已经成功安装。&#160; homebrew方式安装的imagemagick路径默认在/usr/local/Cellar路径下 使用imagemagick拼接图片：&#160; 执行如下命令：将 a.jpg 放到test.jpg 图片的中间位置（center控制）并保存为b_over.gif格式&#160; composite -gravity center a.jpg [&#8230;]]]></description>
		
		
		
			</item>
	</channel>
</rss>
