使用300 dpi C#转换并保存图像? [英] convert and save image with 300 dpi c#?

查看:542
本文介绍了使用300 dpi C#转换并保存图像?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何以300 dpi的c#格式转换和保存图像?

how to convert and save image with 300 dpi c#?

推荐答案

这取决于图像的类型,但我必须说DPI只是一个meta-几乎没有影响的数据项.它的一些应用程序是以默认分辨率"渲染图像,该图像主要应用于打印功能.

通常,它根本不影响图像的渲染.如果需要像素到像素的渲染,则应用程序仅使用图像的像素尺寸,而忽略DPI(这可能与任务相矛盾,因为实际DPI显然是该尺寸和设备物理像素尺寸的函数,通常是甚至不知道渲染功能,也不需要);在其他情况下,应用程序图像重新采样为任意大小.

—SA
It depends on the type if image, but I must say that DPI is just a meta-data item which affects almost nothing. Some applications is it to render the image in "default resolution", which is mostly applied to print function.

Normally, it does not effect rendering of the image at all. If a pixel-to-pixel rendering is needed, the application simply uses pixel dimension of an image and ignore DPI (which can contradict the task as actual DPI is apparently a function of this dimension and the physical pixel size of the device which is usually not even known to the rendering function, it is not needed); in other cases the application resamples image to any size.

—SA


我找到了这个论坛帖子,以关于转换或更改DPI的概念的不同方式对其进行了解释:
http://support.leadtools.com/CS/forums/495/ShowPost.aspx
I found this forum post that explains it in a different way with regard to the concept of converting or changing DPI:
http://support.leadtools.com/CS/forums/495/ShowPost.aspx


这篇关于使用300 dpi C#转换并保存图像?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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