method

valid_image?

Importance_0
v7.0.0 - Show latest stable - 0 notes - Class: Vips
valid_image?(image) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activestorage/lib/active_storage/analyzer/image_analyzer/vips.rb, line 42
      def valid_image?(image)
        image.avg
        true
      rescue ::Vips::Error
        false
      end
Register or log in to add new notes.