Leanify icon indicating copy to clipboard operation
Leanify copied to clipboard

pixel per inch

Open viaboi opened this issue 2 years ago • 2 comments

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.

viaboi avatar Feb 24 '22 15:02 viaboi

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.

JayXon avatar Feb 26 '22 06:02 JayXon

It would be good, thanks.

viaboi avatar Feb 27 '22 01:02 viaboi