Very strange ppi of png [closed]

落爺英雄遲暮 提交于 2019-12-25 04:14:12

问题


I have some png files, and their ppi were 300.

Now I've change the ppi to 72, but the size of the pictures even became larger!

For example, a.png was 190k, 300ppi,

now it becomes 400+k, 72ppi, and it is always 320*460,

what's happening, how should I do?

I was meant to reduce the pictures's size..


回答1:


ppi stands for 'pixels per inch'.

The equation for image size is NoOfPixels = NoOfInches * PixelsPerInch

Or NoOfInches = NoOfPixels/PixelsPerInch

So reducing the ppi will increase the 'physical' size of the image.

To reduce the size of the image you need to squash more pixels into each image of 'physical' space, so increase the ppi



来源:https://stackoverflow.com/questions/9516461/very-strange-ppi-of-png

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!