Gannon McGibbon
ed81601723
Only enqueue analysis jobs when blob is analyzable
2020-01-16 14:14:28 -05:00
George Claghorn
165785e8cf
Skip image analysis on ImageMagick error
2019-05-30 18:20:55 -04:00
Guilherme Mansur
6133dad869
Don't fail ImageAnalyzer on unsupported types
...
Fix : #36065
The IamgeAnalyzer passes a image to ImageMagick without checking if the
image is supported by ImageMagick. This patch checks that image is
supported and if not logs an error and returns an empty hash instead of
raising an error. This is the same error handling we do when we
encounter a LoadError when mini_magick is not installed.
2019-04-24 07:59:12 -04:00
Carlos Ramirez III
f70defa1ba
Fix usage documentation in VideoAnalyzer
...
The code snippet within the usage documentation comment used the wrong object namespace for the ActiveStorage::Analyzer::VideoAnalyzer
2019-01-28 21:13:11 -08:00
utilum
d70bd73f05
Update ffmpeg -> FFmpeg, mutools|mupdf -> muPDF
...
[ci skip]
2018-06-08 11:28:11 +02:00
yuuji.yaginuma
acbcec8ea8
Deprecate active_support/core_ext/hash/compact
...
Ruby 2.4+ provides `Hash#compact` and `Hash#compact!` natively,
so `active_support/core_ext/hash/compact` is no longer necessary.
2018-03-02 16:40:55 -08:00
George Claghorn
57cc6f4030
Correct orientation detection
2018-01-31 16:50:30 -05:00
George Claghorn
f9b806eaa1
Swap encoded image width and height if angle is 90 or 270 degrees
2018-01-31 15:43:29 -05:00
George Claghorn
cf1c48478d
Cope with videos with undefined display aspect ratios
2018-01-20 14:47:09 -05:00
George Claghorn
2450fc24e3
Preserve display aspect ratio for videos with rectangular samples
2018-01-19 10:47:34 -05:00
George Claghorn
a736e82170
Document automatic width-height swapping [ci skip]
2018-01-07 10:04:14 -05:00
George Claghorn
19185c4dea
Remove redundant sentences [ci skip]
2018-01-07 09:56:45 -05:00
George Claghorn
a72473f032
Configure previewer/analyzer command paths centrally
2018-01-03 22:01:31 -05:00
George Claghorn
da8e0ba03c
Swap raw video width and height if angle is 90 or 270 degrees
2017-12-08 13:15:04 -05:00
George Claghorn
b852ef2660
Make ASt previewer/analyzer binary paths configurable
2017-12-01 11:07:30 -05:00
George Claghorn
398e4fecde
Fix links [ci skip]
2017-10-22 13:36:37 -04:00
George Claghorn
605484079d
Extract metadata from images and videos
2017-10-22 13:16:59 -04:00