如何在 Fedora 35 上安装 ImageMagick
admin
2023-07-31 03:17:24
0

ImageMagick 是一个免费的开源简单软件套件,用于任何类型的图像处理,用于编辑、转换和转换 .png、.jpg、.gif 和其他类型的图像。ImageMagick 也可用于所有主要平台,包括 Android、BSD、Linux、Windows、Mac OSX、iOS 等。Imagemagick-logoImagemagick-logo

在 Fedora 35 上安装 ImageMagick

第 1 步:在继续之前,更新您的 Fedora 操作系统以确保所有现有软件包都是最新的。使用此命令更新服务器包:

sudo dnf upgrade
sudo dnf update
sudo install php-pear php-devel gcc

步骤 2. 在 Fedora 35 上安装 ImageMagick。

默认情况下,ImageMagick 在 Fedora 35 基础存储库中可用。现在运行以下命令将 ImageMagick 安装到您的 Fedora 系统:

sudo dnf install ImageMagick ImageMagick-perl

或者,如果需要,您也可以安装 ImageMagick 的开发分支:

sudo dnf install ImageMagick-devel

验证 ImageMagick 是否已安装在您的系统上:

convert --version

第 3 步。 ImageMagick 终端命令。

可与 ImageMagick 一起使用的命令和工具表:

Command Description
animate Display an image sequence as an animation.
compare Analyze two images, and visualize mathematical differences between them.
composite Compose one image over another with variable transparency to create a composite image.
conjure Interpret and execute scripts written in MSL, the Magick Scripting Language.
convert Convert images from one file format to another. This tool can also blur, crop, despeckle, dither, and otherwise modify the content of an image.
display A simple image viewer.
identify Display the image dimensions, quality, and other image metadata.
import Capture the screen to an image file.
mogrify Modify an image. Similar to converting, but overwrites the original image.
montage Create an image composed of smaller images. This command can create a single image containing thumbnails of many images.
stream Process image data and store it in a file as it is being streamed from an input source. Useful for situations with slow data streams or huge images whose data processing should begin before the entire image is stored.

例如,使用 convert logo 命令如下:

convert logo: logo.gif

感谢您使用本教程在 Fedora 35 系统上安装 ImageMagick 开源图像处理。如需更多帮助或有用信息,我们建议您查看ImageMagick 官方网站。

相关内容

热门资讯

Windows 11 和 10... Windows 11/10 文件夹属性中缺少共享选项卡 – 已修复 1.检查共享选项卡是否可用 右键...
Radmin VPN Wind... Radmin VPN 是一款免费且用户友好的软件,旨在牢固地连接计算机以创建一个有凝聚力的虚拟专用网...
如何修复 Steam 内容文件... Steam 内容文件锁定是当您的 Steam 文件无法自行更新时出现的错误。解决此问题的最有效方法之...
在 Windows 11 中打... 什么是链路状态电源管理? 您可以在系统控制面板的电源选项中看到链接状态电源管理。它是 PCI Exp...
iPhone 屏幕上有亮绿色斑... iPhone 是市场上最稳定的智能手机之一,这主要归功于专为它们设计的 iOS 操作系统。然而,他们...
事件 ID 7034:如何通过... 点击进入:ChatGPT工具插件导航大全 服务控制管理器 (SCM) 负责管理系统上运行的服务的活动...
QQ浏览器怎么制作简历 QQ浏览器是腾讯公司开发的一款极速浏览器,支持电脑,安卓,苹果等多种终端;更快的浏览体验,更安全的浏...
Hive OS LOLMine... 目前不清退的交易所推荐: 1、全球第二大交易所OKX欧意 国区邀请链接: https://www.m...
Apple Watch Ult... 所有运行 watchOS 7 或更高版本的 Apple Watch 型号都包含一项名为“优化电池充电...
统信UOS每次开机后不直接进入... 统信UOS每次开机后不直接进入系统而是进入到recovery模式 按方向上键选择UOS 20 SP1...