Skip to content

close #115 - add resolution info#132

Merged
fabulousduck merged 1 commit intomeltingice:masterfrom
linkesch:add-resolution-info
Mar 13, 2018
Merged

close #115 - add resolution info#132
fabulousduck merged 1 commit intomeltingice:masterfrom
linkesch:add-resolution-info

Conversation

@linkesch
Copy link
Copy Markdown
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
Copy Markdown
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.

2 participants