mirror of
https://github.com/docusealco/docuseal
synced 2026-11-05 06:42:32 -05:00
validate blank images
This commit is contained in:
1 parent
de5acd0949
commit
64cd24a24d
4 files changed
+26
-3
No files matched your search
@@ -9,7 +9,6 @@ module ImageUtils
|
||||
|
||||
return true if min.all?(255) && max.all?(255)
|
||||
return true if min.all?(0) && max.all?(0)
|
||||
return true if min.length >= 4 && min[-1].zero? && max[-1].zero?
|
||||
|
||||
false
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user