struct
Latch::Extractor::DimensionsFromMagick
- Latch::Extractor::DimensionsFromMagick
- Struct
- Value
- Object
Included Modules
Defined in:
latch/extractor/dimensions_from_magick.crConstant Summary
-
ARGS =
["identify", "-format", "%[fx:w] %[fx:h]"]
Constructors
Instance Method Summary
-
#extract(uploaded_file, metadata, **options) : Nil
Extracts the dimensions of a file using ImageMagick's
magickcommand. - #initialize
Instance methods inherited from module Latch::Extractor
extract(uploaded_file : Latch::UploadedFile, metadata : MetadataHash, **options) : MetadataValue | Nil
extract
Constructor Detail
Instance Method Detail
def extract(uploaded_file, metadata, **options) : Nil
#
Extracts the dimensions of a file using ImageMagick's magick command.