Registry / utility / dimensions

dimensions

JSON →
library1.3.0rbrubygemsunverified

A pure Ruby library for measuring the dimensions and rotation angles of GIF, PNG, JPEG and TIFF images.

gem install dimensions
INSTALL
IMPORT
SIG · DIMENSIONS
D
dimensions
utilityrubyv1.3.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Dimensions
✓ require 'dimensions'

Get the width and height of an image file.

require 'dimensions' dimensions = Dimensions.dimensions('image.jpg') puts dimensions # => [1920, 1080]
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.3.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
dimensions — gem install dimensions · libregistry