在针对 WPF 进行设计时,Adobe Illustrator 的首选 dpi 是多少?
我的设计师正在从 Adobe illustrator 向我发送 72dpi 的文件。 导入到 Expression 后使用形状时遇到一些问题。 Expression 中的实际大小看起来不错 - 它以 72 dpi 导入。 然而,当我运行 WPF 应用程序时,屏幕上的形状要大得多,我猜是因为我的桌面分辨率设置为 96 dpi。我是否应该要求设计师切换到96dpi?或者我应该在表达中以某种方式处理这个问题?
My designer is sending me files from Adobe illustrator that are 72dpi.
I'm having some problems when I use the shapes after importing into Expression.
The actual size in Expression looks fine - It imports at 72 dpi.
The shapes are much bigger on my screen when I run the WPF app however, I assume because my desktop resolution is set to 96 dpi. Should I request that the designer switch to 96dpi? or should I just take care of this some how in Expression?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我意识到我的问题了。 Adobe Illustrator 文件很好。 Expression 中的导入使文档每英寸 72 像素。进入表达式并将文档大小更改为每英寸 96 像素并不表示当您单击“确定”时它将更改文档宽度/高度,除非您先将其关闭 - 这就是我的意思。您必须更改为每英寸 96 像素,然后关闭 -Expression,然后将建议一个更大的新宽度和高度。我必须手动将其放回原来的位置。
图稿看起来很棒,我提取的 xaml 在 wpf 应用程序中看起来也很棒。
如果有人好奇的话,这是一个将以 96dpi 运行的 Kiosk 应用程序。 wpf 应用程序需要看起来与 illustrator 文件完全相同。
I realized my issue. Adobe Illustrator files are fine. The import in Expression makes the document 72 pixels per inch. Going into expression and changing the document size to 96 pixels per inch does not indicate that it will change the document width/height when you hit ok unless you tab off of it first - This is what got me. You have to change to 96 pixels per inch then tab off -Expression then will then suggest a new width and height which is much bigger. I had to manually put this back to where it was.
The artwork looks great and the xaml I'm extracting looks great in the wpf app.
In case anyone was curious, this is for a Kiosk app that will be running at 96dpi. The wpf app needs to look exactly like the illustrator files.