diff options
Diffstat (limited to 'lib/sisu/v2/dal_images.rb')
-rw-r--r-- | lib/sisu/v2/dal_images.rb | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/sisu/v2/dal_images.rb b/lib/sisu/v2/dal_images.rb index 1e474010..0b6d2b1e 100644 --- a/lib/sisu/v2/dal_images.rb +++ b/lib/sisu/v2/dal_images.rb @@ -76,8 +76,7 @@ module SiSU_images end else if @md.cmd =~/[vVM]/ - tell=SiSU_Screen::Ansi.new(@md.cmd,'use of RMagick is not enabled in sisurc.yml') - tell.warn + SiSU_Screen::Ansi.new(@md.cmd,'use of RMagick is not enabled in sisurc.yml').warn end end data.each do |dob| @@ -102,8 +101,7 @@ module SiSU_images img_col,img_row=img.columns,img.rows else if @md.cmd =~/[vVM]/ - tell=SiSU_Screen::Ansi.new(@md.cmd,'RMagick not present, will attempt to use imagemagick (identify) directly') - tell.warn + SiSU_Screen::Ansi.new(@md.cmd,'RMagick not present, will attempt to use imagemagick (identify) directly').warn end imgk=SiSU_Env::System_call.new.imagemagick gmgk=SiSU_Env::System_call.new.graphicksmagick @@ -140,8 +138,7 @@ module SiSU_images end else images=dob.obj.scan(m) do |image| - tell=SiSU_Screen::Ansi.new(@md.cmd,'where image dimensions have not been provided RMagick or imagemagick is required',image) - tell.warn #unless @opt.cmd =~/q/ + SiSU_Screen::Ansi.new(@md.cmd,'where image dimensions have not been provided RMagick or imagemagick is required',image).warn #unless @opt.cmd =~/q/ end end end |