Skip to content

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

Open
@nikgalushko

Description

@nikgalushko

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions