convert /home/bill/TempScan/*.png myfile.pdf
Run Code Online (Sandbox Code Playgroud)
给出错误信息:
convert-im6.q16: not authorized `myfile.pdf' @ error/constitute.c/WriteImage/1037.
Run Code Online (Sandbox Code Playgroud)
任何帮助,将不胜感激!
我使用 package texlive-full,它会安装imagemagick和其他相关的软件包。当我检查更新时,我收到以下消息:
The following security updates require Ubuntu Pro with \'esm-apps\' enabled:\n imagemagick libopenexr25 libmagick++-6.q16-8 libmagickcore-6.q16-6-extra\n libmagickwand-6.q16-6 imagemagick-6.q16 libmagickcore-6.q16-6\n imagemagick-6-common\nRun Code Online (Sandbox Code Playgroud)\n这意味着,如果我想使用texlive-fullUbuntu 22.04,据我所知,我每年必须支付 500 美元才能拥有一个安全的发行版。
有没有办法避免这种情况,例如不安装安装的所有内容texlive-full?
编辑:
\ngaucher@mars:~$ apt policy texlive-full\ntexlive-full:\n Install\xc3\xa9\xc2\xa0: 2021.20220204-1\n Candidat\xc2\xa0: 2021.20220204-1\n Table de version\xc2\xa0:\n *** 2021.20220204-1 500\n 500 http://fr.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages\n 500 http://fr.archive.ubuntu.com/ubuntu jammy/universe i386 Packages\n 100 /var/lib/dpkg/status\nRun Code Online (Sandbox Code Playgroud)\n我的配置(是的,我使用的是 Ubuntu 22.04):
\n\n根据要求添加:
\ngaucher@mars:~$ apt policy imagemagick\nimagemagick:\n Install\xc3\xa9\xc2\xa0: 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1\n Candidat\xc2\xa0: …Run Code Online (Sandbox Code Playgroud) 好吧,就在升级我的 Ubuntu 并因此转移到 php7 之后,我似乎无法使用相同的旧命令为 php 安装 imagick 扩展
sudo apt-get install php5-imagick
Run Code Online (Sandbox Code Playgroud)
我收到此错误(也尝试过 php7-imagick)
Package php5-imagick is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'php5-imagick' has no installation candidate
Run Code Online (Sandbox Code Playgroud)
我该怎么办?
I have saved multiple images from google books. I wanted to convert them to a single pdf file, where in I need some inputs. The below two images(one png and one jpeg) are two continuous pages.
I save them in my system. I converted them to pdf using the command below
convert books.png books.jpeg combined.pdf
Run Code Online (Sandbox Code Playgroud)
However the combined.pdf is not giving me expected results, not the combination of the two.
I also tried making individual pdf …
我有很多图像周围有白色边框。我想一次裁剪这些边框,最好是从命令行裁剪。我相信它可以用 ImageMagick 完成,但我找不到合适的命令。
我知道它可以通过名为 Irfanview 的带有“自动裁剪边框”选项的 Windows 程序来完成,但我正在寻找基于 Ubuntu 的解决方案,最好是基于命令行的解决方案。
我想调整这样一个动画 GIF 文件do.gif 的大小 
如果我这样做,convert do.gif -resize 24x24\! do-24.gif我会在do-24.gif 中调整它的大小但没有动画
如何以正确的方式调整大小以获得相同的动画?
在 Ubuntu 12.04 ImageMagick 似乎不支持 webp。
convert flyer.png flyer.webp
Run Code Online (Sandbox Code Playgroud)
创建一个带有 webp 扩展名的 png 文件。
在webp 文档上声明 ImageMagick 确实支持 webp
$ convert --version`
Version: ImageMagick 6.6.9-7 2012-08-17 Q16
Run Code Online (Sandbox Code Playgroud)
我已经安装了这两个:
libwebp-dev - 数字摄影图像的有损压缩。libwebp2 - 数字摄影图像的有损压缩。此外, convert 无法解码 webp 文件。
怎么了,这是一个 Ubuntu 错误吗?
我最近不得不打印几个 PDF 发送给某人,但我想编辑(涂黑)一些小文本。
一个快速的谷歌搜索没有找到任何用于这个特定目的的工具,所以我又回到了 imagemagick & gimp:
convert document.pdf document.pnggimp document-0.png这种策略的问题在于转换过程(从 PDF 到 PNG 或任何其他格式)会降低质量。我尝试在 gimp 中编辑 PDF,但它没有立即起作用。
是否有允许以这种方式进行编辑的特定工具?(它甚至不需要是“真正的”修订——我不会发送软拷贝,所以“假”修订将起作用,因为硬拷贝不能被黑客入侵以显示底层文本。)
或者,是否有能够在 gimp 中编辑 PDF 的技巧?
我有多*.jpeg张图片我喜欢合并到一个*.pdf文件中,如下所示:
convert Blatt1.jpg Blatt2.jpg Blatt3.jpg Blatt4.jpg out.pdf
Run Code Online (Sandbox Code Playgroud)
我收到以下异常提示:
convert: attempt to perform an operation not allowed by the security policy `PDF' @ error/constitute.c/IsCoderAuthorized/408
Run Code Online (Sandbox Code Playgroud)
是什么导致了这个问题,我该如何解决?我做了一些研究,但找不到关于这个特定问题的任何信息。
我环顾四周,找不到一个容易实现的解决方案。
目前我正在开发一个处理全景图的应用程序。当它们从批量缝合过程中出来时,尺寸平均为 18000x4000。使用 ImageMagick,如何在保持纵横比的同时将这些图像缩小到特定的高度值?
根据手册,convert操作需要调整高度和宽度,同时保持相同的纵横比。我想要的是在我现有的调整大小脚本函数中放入 600 和 1000,并同时具有常规可见图像和缩小尺寸。