Libreoffice Draw导出解决方案没有任何意义 [英] Libreoffice Draw Export Resolution makes no sense

查看:300
本文介绍了Libreoffice Draw导出解决方案没有任何意义的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用Libreoffice Draw v 4.0.2.2创建一个非常简单的标签.标签的内容不多于规则排列的居中文本行

I am attempting to make a very simple label using Libreoffice Draw v 4.0.2.2. The label has not much more to it than regularly spaced lines of centered text

将打印此图像,并且我有固定的尺寸/点数要求,以确保适当的打印质量.

This image will be printed, and I have a fixed size/ppi requirement to ensure appropriate print quality.

我将页面大小设置为我的规格,并根据需要布置文本.该印刷厂采用几种图像格式,包括.tiff和.png.当我导出图像时,会弹出一个对话框,询问图像大小/分辨率.给定的ppi非常低(〜40),我至少需要180ppi.输入此值时,图像大小会自行调整,导致图像太小.

I set the page size to my specs, and layout the text as I desire. The print shop takes several image formats including .tiff and .png. When I export the image, a dialog pops up that asks for the image size/ resolution. The given ppi is very low (~40) and I require a minimum of 180ppi. When I enter this, the image size adjusts itself and results in an image that is far too small.

唯一可行的解​​决方案是爆炸页面大小和工程图文本大小,以便在导出时缩小.我真的希望由于我的无知,这是该程序的非常不精确且不合逻辑的功能(错误?).

The only solution that appears to be viable is to explode the page size and the drawing text size so it gets shrunk upon export. This is a very imprecise and illogical feature (bug?) of the program that I really wish is a result of my ignorance.

我找到了线程准确地描述了此问题.给出的唯一答案本质上是是的,这很荒谬,对任何人都没有帮助".

I found a thread in the mailing list which describes this issue exactly. The only answer that is given is essentially "yes, this is ridiculous and doesn't help anybody".

任何人都可以对此提出建议吗?或至少阐明了谁可能需要此功能"?

Can anyone give some advice to this? Or at least shed some light on who might need this "feature"?

推荐答案

一般来说,LibreOffice的导出工具存在一些问题.自从它坏了已经有好几年了.截屏是一种替代方法,但是显然您无法控制分辨率.

There is something off about the Export tool of LibreOffice in general. It has been years since it is broken. Taking a screenshot is an alternative, but obviously you cannot control the resolution.

因此,更好的解决方法是导出到SVG,然后使用 Inkscape 将SVG转换为PNG.下载后,使用以下命令转换文件:

So, a better work around is exporting to SVG, and then convert the SVG to PNG with Inkscape. Once downloaded, convert the file with the following command:

inkscape -z -e out.png -w 1024 in.svg

如果您使用的是Windows(x64),则需要指出完整路径:

If you are in Windows (x64), you will need to indicate the full path:

"C:/Program Files/Inkscape/inkscape.exe" -z -e out.png -w 1024 in.svg 

如果您安装32位版本,则应该可以:

If you install the 32 bit version, this should work:

"C:\Program Files (x86)/Inkscape/inkscape.exe" -z -e out.png -w 1024 in.svg 

这篇关于Libreoffice Draw导出解决方案没有任何意义的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆