Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Access image propertiesΒ #41

@sandstrom

Description

@sandstrom

Awesome gem! πŸ†

A method to access image data would be useful. For example image dimensions, and perhaps exif data too.

For VIPS, something along these lines should work.

def dimensions
  { :width => vips_image.x_size, :height => vips_image.y_size }
end

But may make more sense with a general image_properties method, that would return a hash with more than just width/height.

What do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions