I’m getting images from a url with Mechanize with this code!
url = "http://cnn.com"
page = Mechanize.new.get(url)
images = page.images.map{|img| img.url.to_s}
I want to get only, the images that have a minimum width and height.
e.g. I want get only images with height minimum 100px and width minimum 100px.
How can I do it?
Use ImageMagick to check size image