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

how to set DPI #129

Open
catmando opened this issue Sep 24, 2018 · 2 comments
Open

how to set DPI #129

catmando opened this issue Sep 24, 2018 · 2 comments

Comments

@catmando
Copy link

this just seems very unclear can we have an example someplace?

@Eneroth3
Copy link

Eneroth3 commented Dec 7, 2019

I have the same question. I'm working on exporting scaled drawings from SketchUp and the only tricky part has being writing DPI metadata to exported files.

@jamesbebbington
Copy link

Me three. I'd like to set whatever metadata is required, so that a hi DPI screenshot taken with Selenium with a force-device-scale-factor=2, when opened in MacOS defaults to be zoomed to effectively 50% of the raw resolution. i.e. in the same fashion as when opening a screenshot taken using MacOS itself.

I'm assuming that's related to the pHYs Physical pixel dimensions and that perhaps ChunkyPNG::Chunk::Physical is what I'm after. Any pointers would be much appreciated. Thanks!

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

No branches or pull requests

3 participants