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

close #115 - add resolution info #132

Merged
merged 1 commit into from
Mar 13, 2018

Conversation

linkesch
Copy link
Contributor

I've run into the same problem as #115 - I needed resolution (DPI) information. Official PSD file format doc says that ResolutionInfo structure is on 1005 (decimal). Even the original psd.rb repo is extracting this ResolutionInfo here: https://github.com/layervault/psd.rb/blob/31c7ddddfc96181847579833bf384532de3b29d9/lib/psd/resources/resolution_info.rb

So that's simply what this PR does - follows psd.rb example and extracts resolution information from PSD.

@fabulousduck
Copy link
Collaborator

Thanks for this PR.
it looks good to me, and as @meltingice doesn't really look at this anymore i will merge this as it is a nice addition to the project.

Duck

@fabulousduck fabulousduck merged commit c7b786e into meltingice:master Mar 13, 2018
@linkesch linkesch deleted the add-resolution-info branch March 13, 2018 20:16
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

Successfully merging this pull request may close these issues.

None yet

2 participants