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

x/image/tiff: package does not support image resolution #20742

Open
jetuuuu opened this issue Jun 21, 2017 · 1 comment
Open

x/image/tiff: package does not support image resolution #20742

jetuuuu opened this issue Jun 21, 2017 · 1 comment
Milestone

Comments

@jetuuuu
Copy link

@jetuuuu jetuuuu commented Jun 21, 2017

Please answer these questions before submitting your issue. Thanks!

What version of Go are you using (go version)?

go1.8 darwin/amd64

What operating system and processor architecture are you using (go env)?

Darwin/amd64

What did you do?

Take a tiff image and attempt to decode it with the golang.org/x/image/tiff package.

What did you expect to see?

I expected a method like this DecodeResolution(r io.Reader) (Resolution, error) where Resolution is structure like this type Resolution struct { X, Y int }

P.S.
Now I have a local patch to solve this problem, but I'd like to have it in the library.

@gopherbot gopherbot added this to the Unreleased milestone Jun 21, 2017
@meirf

This comment has been minimized.

Copy link
Contributor

@meirf meirf commented Jun 22, 2018

@jetuuuu, any interest in submitting your patch as a PR here? (The go projects now accept github PRs!)

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

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.