如何在 Linux 上将 SVG(包含一些拉丁文本和一些简单的矢量图形)转换为 PDF?
我在 Ubuntu Lucid 上尝试了 Inkscape 0.47,但它随机移动了一些子图形,并且它使输出 PDF 中的一些行更短。所以它的输出是无用的,因为图形看起来完全不同。
我尝试在 Google Chrome 16 中打开 SVG 并将其打印为 PDF,但它扭曲了所有颜色,并且还删除了一些元素。(SVG 在屏幕上看起来不错,但在打印预览中已经很糟糕,生成的 PDF 也很糟糕。)
我不想光栅化或渲染 SVG。将 SVG 转换为位图图像然后创建嵌入图像的 PDF 的解决方案不是我的问题的答案。(仅供参考 Inscape 0.47 在渲染到 PNG 时渲染文本是一种非常丑陋的方式,没有抗锯齿。)
我还有什么其他选择?
我正在尝试将 .mov 转换为 .gif,但没有成功。
这是错误:
ffmpeg -pix_fmt rgb24 -i yesbuddy.mov output.gif
ffmpeg version 0.11.1 Copyright (c) 2000-2012 the FFmpeg developers
built on Jun 12 2012 17:47:34 with clang 2.1 (tags/Apple/clang-163.7.1)
configuration: --prefix=/usr/local/Cellar/ffmpeg/0.11.1 --enable-shared --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-libfreetype --cc=/usr/bin/clang --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-librtmp --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libxvid --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libass --enable-libvo-aacenc --disable-ffplay
libavutil 51. 54.100 / 51. 54.100
libavcodec 54. 23.100 / 54. 23.100
libavformat 54. 6.100 / 54. 6.100
libavdevice 54. 0.100 / 54. 0.100
libavfilter 2. 77.100 / …Run Code Online (Sandbox Code Playgroud) 我有以下 PDF 文件:http : //www.fmwconcepts.com/misc_tests/pdf_tests/test.pdf
但是当我尝试通过以下方式转换它时:
$ convert test.pdf test.png
Run Code Online (Sandbox Code Playgroud)
我有以下错误:
convert: no images defined `test.png' @ error/convert.c/ConvertImageCommand/3187.
Run Code Online (Sandbox Code Playgroud)
我有以下版本:
$ brew info libpng
libpng: stable 1.6.13 (bottled)
$ brew info libjpeg
jpeg: stable 8d (bottled)
$ brew info imagemagick
imagemagick: stable 6.8.9-7 (bottled), HEAD
http://www.imagemagick.org
/usr/local/Cellar/imagemagick/6.8.9-1 (1432 files, 22M) *
Poured from bottle
From: https://github.com/Homebrew/homebrew/blob/master/Library/Formula/imagemagick.rb
==> Dependencies
Build: xz ?, pkg-config ?
Required: libtool ?
Recommended: jpeg ?, libpng ?, freetype ?
Optional: fontconfig ?, libtiff ?, little-cms ?, …Run Code Online (Sandbox Code Playgroud) 交易如下:
在学校我想在学校用 Markdown(使用 [Q10] 或 Notepad++)写我的实际内容,这样我就可以真正专注于写作,而不会在我的屏幕上看到 Word 2000 的丑陋,但实际上我有问题将 Markdown 转换为最终的 Word 文档,以便我可以设置行距、边距、封面等。
我怎样才能做到这一点?
我还应该提到,我正在将上述程序(Word 除外)从我的闪存驱动器中作为 PortableApps 运行,学校计算机运行 DeepFreeze,而且我确实可以访问命令行。
在我的 .mp4 文件中,音频延迟为 -3840 毫秒。我在KMplayer中同步了它,我不想使用MKVGUI来制作.mkv文件。我只需要将音频延迟 3840 毫秒,其他一切都应该保持不变。
使用 ffmpeg 完成此操作的正确命令是什么?
我会很感激你的帮助。
我在 DjVu 中有一些文档,我想将它们转换为 PDF。有没有办法使用命令行 OSS 工具来做到这一点?
好的,现在我可以检测到 encoding,我知道我的编码正在使用charset=iso-8859-1而不是 utf。我该如何转换?
仅使用免费提供的工具将 EPS 格式的矢量图形转换为 SVG 格式的图形的最佳方法是什么?
conversion ×10
pdf ×3
ffmpeg ×2
macos ×2
png ×2
svg ×2
command-line ×1
djvu ×1
encoding ×1
eps ×1
gif ×1
imagemagick ×1
inkscape ×1
linux ×1
markdown ×1
mp4 ×1
printing ×1
software-rec ×1