You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The root node of the document contains the Height and Width of the document with which you can calculate the resolution.
As for DPI, I have not been able to find anything about it in the official doc. So i think its safe to assume it is not stored in the file itself.
I did however find that at 0x0435 they store display data which may contain info about it.
I have not tested this yet tho as it is something i don't have time for (barely get time to answer these issues these days :( )
I've run into the same issue. Official doc mentions resolution info being on 0x03ED. I created #132 pull request to extract this information following example of psd.rb.
Is it possible to get the document resolution.
I think this is an important feature since fonts size (in PT unit) should be computed from resolution.
The text was updated successfully, but these errors were encountered: