Method: ColorCat::Process#call
- Defined in:
- lib/color_cat/process.rb
#call ⇒ Object
15 16 17 18 19 20 21 22 23 |
# File 'lib/color_cat/process.rb', line 15 def call begin process_image normal = sort_by_decreasing_frequency(quantized) get_pix(normal) rescue OpenURI::HTTPError, Magick::ImageMagickError # TODO logging end end |