Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pixel per inch #83

Open
viaboi opened this issue Feb 24, 2022 · 2 comments
Open

pixel per inch #83

viaboi opened this issue Feb 24, 2022 · 2 comments

Comments

@viaboi
Copy link

viaboi commented Feb 24, 2022

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.

@JayXon
Copy link
Owner

JayXon commented Feb 26, 2022

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
Copy link
Author

viaboi commented Feb 27, 2022

It would be good, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants