72DPI PNG 到 300DPI PDF +切割十字
我有一个以 72DPI 输出 PNG 文件的闪光灯,我需要执行以下步骤(不一定按该顺序)才能准备好打印:
- 转换为 300DPI
- 调整大小为 9x5 厘米
- 放置
cross
(稍后剪切)另存 - 为 PDF - 300DPI
凭借我的一点教程阅读和 IM 知识,我到目前为止: 1.转换-units PixelsPerInch IMAGE.PNG -resample 300 IMAGE_300DPI.png 2.转换IMAGE_300DPI.png -调整大小1111x639 IMAGE_300DPI_ Correct_size.png 3.复合-重心 IMAGE_300DPI_ Correct_size.png cross.png card_new_with_cross.png 4.转换card_new_with_cross.png card_new.pdf
当我执行第4阶段时,据我所知,一切都发生了变化并被放大,有什么想法吗?
顺便说一下 - 2 个文件(sideA.png 和 cross.png)可以在以下位置找到: http://www.bikur.co.il/sideA.png <--图像 http://www.bikur.co.il/cross.png <-- “十字架”-
如果有人能帮助我那就太好了
I have a flash which outputs a PNG file in 72DPI, I need to execute the following steps (not necessarily in that order) in order to make it ready for print:
- Convert to 300DPI
- Resize to 9x5 cm
- Put
cross
(for cutting later) on it - Save as PDF - 300DPI
With my little of tutorial reading + knowledge in IM, I got this far:
1. convert -units PixelsPerInch IMAGE.PNG -resample 300 IMAGE_300DPI.png
2. convert IMAGE_300DPI.png -resize 1111x639 IMAGE_300DPI_correct_size.png
3. composite -gravity center IMAGE_300DPI_correct_size.png cross.png card_new_with_cross.png
4. convert card_new_with_cross.png card_new.pdf
When I execute stage #4 everything changes and gets enlarged as far as I can tell, any Ideas?
by the way - 2 files (sideA.png & cross.png) can be found at:
http://www.bikur.co.il/sideA.png <-- the image
http://www.bikur.co.il/cross.png <-- the `cross-
It would be great if someone can help me with it
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
DPI 是一个转换因子,而不是测量值。它用于将图像的固有像素转换为某些显示介质的像素。
例如,300 dpi 打印机的“像素”尺寸为 1/300 英寸,而 72dpi 显示器的像素尺寸为 1/72 英寸。显示器上的 100x100@72dpi 图像必须以大约 417x417 打印机像素打印才能具有相同的外观尺寸 (300/72 = 4.16666)
因此,无论您的图像最初大小如何,要获得 9x5cm 图像 @ 300dpi,它必须按如下方式转换:
9 x 5cm = 3.543 x 1.968 英寸 @ 300dpi = 1063 x 591
DPI is a conversion factor, not a measurement. It's used to convert an image's intrinsic pixels into some display medium's pixel.
e.g. a 300 dpi printer has "pixels" that are 1/300 inches in size, while a 72dpi monitor has 1/72 inch sized pixels. A 100x100@72dpi image on a monitor would have to be printed out at about 417x417 printer pixels to have the same apparent size (300/72 = 4.16666)
So, whatever size your image is initially, to get a 9x5cm image @ 300dpi, it'd have to be converted as follows:
9 x 5cm = 3.543 x 1.968 inches @ 300dpi = 1063 x 591