pixel per inch

#83 · open · 2 comments

View on GitHub ↗

viaboi

Hello, Could you please don't remove the pixel (dot) per inch information in the images ? The suppression of this information don't reduce the size of the images at all. This information is not a metadata but an integral part of the picture and the allocated memory for it remains all the same. Note : I have just noticed that the dpi is preserved for jpeg images but not for png ones.

Comments

JayXon

I think this information is stored in `pHYs` chunk, which is an optional chunk in png specification, and most png optimizer will remove this by default, we can definitely add an option to keep this though.

viaboi

It would be good, thanks.