properly parse out gif dimensions. durrrrr. [ci skip]
This commit is contained in:
parent
e55073fdd4
commit
a1907428e1
1 changed files with 1 additions and 1 deletions
|
|
@ -25,6 +25,6 @@ class UnprocessedImage < CarrierWave::Uploader::Base
|
||||||
end
|
end
|
||||||
|
|
||||||
def get_version_dimensions
|
def get_version_dimensions
|
||||||
model.width, model.height = `identify -format "%wx%h" #{file.path}`.split(/x/)
|
model.width, model.height = `identify -format "%wx%h " #{file.path}`.split(/x/)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue