Update image_extractor.rb

Add support for quality params