diff --git a/adaptive_threshold.rb.html b/adaptive_threshold.rb.html index 9c44a46..4317f75 100644 --- a/adaptive_threshold.rb.html +++ b/adaptive_threshold.rb.html @@ -17,6 +17,8 @@
+# frozen_string_literal: true + require 'rmagick' # Demonstrate the Image#adaptive_threshold method diff --git a/add_noise.rb.html b/add_noise.rb.html index 107d8fa..1f0b326 100644 --- a/add_noise.rb.html +++ b/add_noise.rb.html @@ -17,6 +17,8 @@add_noise.rb
+# frozen_string_literal: true + require 'rmagick' # Demonstrate the Image#add_noise method diff --git a/affine.rb.html b/affine.rb.html index 02f1be4..7cfbf23 100644 --- a/affine.rb.html +++ b/affine.rb.html @@ -17,6 +17,8 @@affine.rb
+# frozen_string_literal: true + require 'rmagick' # Demonstrate the affine primitive. Transform the diff --git a/affine_transform.rb.html b/affine_transform.rb.html index 1565de1..ba4a8ba 100644 --- a/affine_transform.rb.html +++ b/affine_transform.rb.html @@ -17,6 +17,8 @@affine_transform.rb
+# frozen_string_literal: true + require 'rmagick' # Demonstrate the Image#affine_transform method diff --git a/arc.rb.html b/arc.rb.html index e4cb96d..275a666 100644 --- a/arc.rb.html +++ b/arc.rb.html @@ -17,6 +17,8 @@arc.rb
+# frozen_string_literal: true + require 'rmagick' i = Magick::Image.new(300, 220, Magick::HatchFill.new('white', 'lightcyan2')) diff --git a/arcpath.rb.html b/arcpath.rb.html index 01064b9..ebc7096 100644 --- a/arcpath.rb.html +++ b/arcpath.rb.html @@ -17,6 +17,8 @@arcpath.rb
+# frozen_string_literal: true + require 'rmagick' # Demonstrate the "path" drawing primitive. diff --git a/arcs01.rb.html b/arcs01.rb.html index 5d7f465..41cffe3 100644 --- a/arcs01.rb.html +++ b/arcs01.rb.html @@ -17,6 +17,8 @@arcs01.rb
+# frozen_string_literal: true + require 'rvg/rvg' Magick::RVG.dpi = 90 diff --git a/arcs02.rb.html b/arcs02.rb.html index 391d116..3cd562f 100644 --- a/arcs02.rb.html +++ b/arcs02.rb.html @@ -17,6 +17,8 @@arcs02.rb
+# frozen_string_literal: true + require 'rvg/rvg' Magick::RVG.dpi = 90 diff --git a/average.rb.html b/average.rb.html index e630bf9..c65b740 100644 --- a/average.rb.html +++ b/average.rb.html @@ -17,6 +17,8 @@average.rb
+# frozen_string_literal: true + # Demonstrate ImageList#average method require 'rmagick' diff --git a/axes.rb.html b/axes.rb.html index 1acba3d..9ef58e4 100644 --- a/axes.rb.html +++ b/axes.rb.html @@ -17,6 +17,8 @@axes.rb
+# frozen_string_literal: true + require 'rmagick' # Demonstrate the use of RMagick's Draw class diff --git a/baseline_shift01.rb.html b/baseline_shift01.rb.html index a414dad..711bfff 100644 --- a/baseline_shift01.rb.html +++ b/baseline_shift01.rb.html @@ -17,6 +17,8 @@baseline_shift01.rb
+# frozen_string_literal: true + require 'rvg/rvg' rvg = Magick::RVG.new(150, 100) do |canvas| diff --git a/bilevel_channel.rb.html b/bilevel_channel.rb.html index 601eb74..081d934 100644 --- a/bilevel_channel.rb.html +++ b/bilevel_channel.rb.html @@ -17,6 +17,8 @@bilevel_channel.rb
+# frozen_string_literal: true + require 'rmagick' img = Magick::Image.read('images/Flower_Hat.jpg').first diff --git a/blur_image.rb.html b/blur_image.rb.html index e242ce5..ac4374c 100644 --- a/blur_image.rb.html +++ b/blur_image.rb.html @@ -17,6 +17,8 @@blur_image.rb
+# frozen_string_literal: true + require 'rmagick' # Demonstrate the Image#blur_image method diff --git a/border.rb.html b/border.rb.html index 6eb3236..a260ff1 100644 --- a/border.rb.html +++ b/border.rb.html @@ -17,6 +17,8 @@border.rb
+# frozen_string_literal: true + require 'rmagick' # Demonstrate the Image#border method diff --git a/bounding_box.rb.html b/bounding_box.rb.html index 69acab2..21d192f 100644 --- a/bounding_box.rb.html +++ b/bounding_box.rb.html @@ -17,6 +17,8 @@bounding_box.rb
+# frozen_string_literal: true + require 'rmagick' img = Magick::Image.new(200, 200) { |info| info.background_color = '#ffffcc' } diff --git a/cbezier1.rb.html b/cbezier1.rb.html index b4e43c4..8e17a41 100644 --- a/cbezier1.rb.html +++ b/cbezier1.rb.html @@ -17,6 +17,8 @@cbezier1.rb
+# frozen_string_literal: true + require 'rmagick' imgl = Magick::ImageList.new diff --git a/cbezier2.rb.html b/cbezier2.rb.html index 653848c..7109f1d 100644 --- a/cbezier2.rb.html +++ b/cbezier2.rb.html @@ -17,6 +17,8 @@cbezier2.rb
+# frozen_string_literal: true + require 'rmagick' imgl = Magick::ImageList.new diff --git a/cbezier3.rb.html b/cbezier3.rb.html index a2de23a..fb7d17e 100644 --- a/cbezier3.rb.html +++ b/cbezier3.rb.html @@ -17,6 +17,8 @@cbezier3.rb
+# frozen_string_literal: true + require 'rmagick' imgl = Magick::ImageList.new diff --git a/cbezier4.rb.html b/cbezier4.rb.html index 0d125dc..5acdf50 100644 --- a/cbezier4.rb.html +++ b/cbezier4.rb.html @@ -17,6 +17,8 @@cbezier4.rb
+# frozen_string_literal: true + require 'rmagick' imgl = Magick::ImageList.new diff --git a/cbezier5.rb.html b/cbezier5.rb.html index fd03f19..e51793f 100644 --- a/cbezier5.rb.html +++ b/cbezier5.rb.html @@ -17,6 +17,8 @@cbezier5.rb
+# frozen_string_literal: true + require 'rmagick' imgl = Magick::ImageList.new diff --git a/cbezier6.rb.html b/cbezier6.rb.html index bffca0a..cdaf664 100644 --- a/cbezier6.rb.html +++ b/cbezier6.rb.html @@ -17,6 +17,8 @@cbezier6.rb
+# frozen_string_literal: true + require 'rmagick' imgl = Magick::ImageList.new diff --git a/channel.rb.html b/channel.rb.html index ffb8897..daccbe7 100644 --- a/channel.rb.html +++ b/channel.rb.html @@ -17,6 +17,8 @@channel.rb
+# frozen_string_literal: true + require 'rmagick' img = Magick::Image.read('images/Flower_Hat.jpg').first diff --git a/charcoal.rb.html b/charcoal.rb.html index c97b366..5233ea8 100644 --- a/charcoal.rb.html +++ b/charcoal.rb.html @@ -17,6 +17,8 @@charcoal.rb
+# frozen_string_literal: true + require 'rmagick' # Demonstrate the Image#charcoal method diff --git a/chop.rb.html b/chop.rb.html index 33b020c..84affe3 100644 --- a/chop.rb.html +++ b/chop.rb.html @@ -17,6 +17,8 @@chop.rb
+# frozen_string_literal: true + require 'rmagick' # Demonstrate the Image#chop method diff --git a/circle.rb.html b/circle.rb.html index 7841f6f..e74be46 100644 --- a/circle.rb.html +++ b/circle.rb.html @@ -17,6 +17,8 @@circle.rb
+# frozen_string_literal: true + require 'rmagick' imgl = Magick::ImageList.new diff --git a/circle01.rb.html b/circle01.rb.html index 3bfb4dc..e6159ab 100644 --- a/circle01.rb.html +++ b/circle01.rb.html @@ -17,6 +17,8 @@circle01.rb
+# frozen_string_literal: true + require 'rvg/rvg' Magick::RVG.dpi = 90 diff --git a/clip_path.rb.html b/clip_path.rb.html index 3849b85..3198247 100644 --- a/clip_path.rb.html +++ b/clip_path.rb.html @@ -17,6 +17,8 @@clip_path.rb
+# frozen_string_literal: true + require 'rmagick' points = [ diff --git a/coalesce.rb.html b/coalesce.rb.html index f9d8628..abec902 100644 --- a/coalesce.rb.html +++ b/coalesce.rb.html @@ -17,12 +17,14 @@coalesce.rb
+# frozen_string_literal: true + require 'rmagick' buttons = Magick::ImageList.new # Read 25 alphabet image files, scale to 1/4 size -letter = 'A' +letter = +'A' 26.times do if letter != 'M' # "M" is not the same size as the other letters tiny = Magick::Image.read('images/Button_' + letter + '.gif').first diff --git a/color_fill_to_border.rb.html b/color_fill_to_border.rb.html index 7a50ea7..7f993e9 100644 --- a/color_fill_to_border.rb.html +++ b/color_fill_to_border.rb.html @@ -17,6 +17,8 @@color_fill_to_border.rb
+# frozen_string_literal: true + require 'rmagick' # Demonstrate the Image#color_fill_to_border method diff --git a/color_floodfill.rb.html b/color_floodfill.rb.html index 19929a0..134eee6 100644 --- a/color_floodfill.rb.html +++ b/color_floodfill.rb.html @@ -17,6 +17,8 @@color_floodfill.rb
+# frozen_string_literal: true + require 'rmagick' # Demonstrate the Image#color_floodfill method diff --git a/color_histogram.rb.html b/color_histogram.rb.html index 3342a11..2a3a4cd 100644 --- a/color_histogram.rb.html +++ b/color_histogram.rb.html @@ -17,6 +17,8 @@color_histogram.rb
+# frozen_string_literal: true + require 'rmagick' NUM_COLORS = 256 diff --git a/color_reset.rb.html b/color_reset.rb.html index 709f223..34d1d75 100644 --- a/color_reset.rb.html +++ b/color_reset.rb.html @@ -17,6 +17,8 @@color_reset.rb
+# frozen_string_literal: true + require 'rmagick' # Demonstrate the Image#color_reset! method diff --git a/colorize.rb.html b/colorize.rb.html index 0294fd5..f71710b 100644 --- a/colorize.rb.html +++ b/colorize.rb.html @@ -17,6 +17,8 @@colorize.rb
+# frozen_string_literal: true + require 'rmagick' # Demonstrate the Image#colorize method by converting diff --git a/colors.rb.html b/colors.rb.html index be5769a..8594615 100644 --- a/colors.rb.html +++ b/colors.rb.html @@ -17,6 +17,8 @@colors.rb
+# frozen_string_literal: true + require 'rmagick' puts('Creating colors.miff. This may take a few seconds...') diff --git a/compose_mask.rb.html b/compose_mask.rb.html index 92244ad..b69ad22 100644 --- a/compose_mask.rb.html +++ b/compose_mask.rb.html @@ -17,6 +17,8 @@compose_mask.rb
+# frozen_string_literal: true + require 'rmagick' background = Magick::Image.read('images/Flower_Hat.jpg').first diff --git a/composite.rb.html b/composite.rb.html index 3a3ae1e..4d2843c 100644 --- a/composite.rb.html +++ b/composite.rb.html @@ -17,6 +17,8 @@composite.rb
+# frozen_string_literal: true + # Demonstrate the effects of various composite operators. # Based on ImageMagick's composite test. diff --git a/composite_layers.rb.html b/composite_layers.rb.html index b19efd4..8061af4 100644 --- a/composite_layers.rb.html +++ b/composite_layers.rb.html @@ -17,6 +17,8 @@composite_layers.rb
+# frozen_string_literal: true + require 'rmagick' module Magick diff --git a/composite_tiled.rb.html b/composite_tiled.rb.html index f86d318..050a62b 100644 --- a/composite_tiled.rb.html +++ b/composite_tiled.rb.html @@ -17,6 +17,8 @@composite_tiled.rb
+# frozen_string_literal: true + require 'rmagick' # Create a transparent image to tile over the background image. diff --git a/contrast.rb.html b/contrast.rb.html index 635ffdc..fda2226 100644 --- a/contrast.rb.html +++ b/contrast.rb.html @@ -17,6 +17,8 @@contrast.rb
+# frozen_string_literal: true + require 'rmagick' # Demonstrate the Image#contrast method diff --git a/crop.rb.html b/crop.rb.html index b8bd3a3..47394f5 100644 --- a/crop.rb.html +++ b/crop.rb.html @@ -17,6 +17,8 @@crop.rb
+# frozen_string_literal: true + require 'rmagick' # Demonstrate the Image#crop method diff --git a/crop_with_gravity.rb.html b/crop_with_gravity.rb.html index 5c5f3cf..6adc168 100644 --- a/crop_with_gravity.rb.html +++ b/crop_with_gravity.rb.html @@ -17,6 +17,8 @@crop_with_gravity.rb
+# frozen_string_literal: true + #=======================================================# # Thanks to Robert Wagner for the idea of allowing a # # GravityType instead of the x- and y-offset arguments! # diff --git a/cubic01.rb.html b/cubic01.rb.html index cdf8590..caebd51 100644 --- a/cubic01.rb.html +++ b/cubic01.rb.html @@ -17,6 +17,8 @@cubic01.rb
+# frozen_string_literal: true + require 'rvg/rvg' Magick::RVG.dpi = 90 diff --git a/cubic02.rb.html b/cubic02.rb.html index 61266a8..0db5d31 100644 --- a/cubic02.rb.html +++ b/cubic02.rb.html @@ -17,6 +17,8 @@cubic02.rb
+# frozen_string_literal: true + require 'rvg/rvg' Magick::RVG.dpi = 90 diff --git a/cycle_colormap.rb.html b/cycle_colormap.rb.html index 39494e6..6c56b4d 100644 --- a/cycle_colormap.rb.html +++ b/cycle_colormap.rb.html @@ -17,6 +17,8 @@cycle_colormap.rb
+# frozen_string_literal: true + require 'rmagick' # Demonstrate the Image#cycle_colormap method diff --git a/demo.rb.html b/demo.rb.html index e9a159d..4c1da46 100644 --- a/demo.rb.html +++ b/demo.rb.html @@ -17,6 +17,8 @@demo.rb
+# frozen_string_literal: true + # # Simple demo program for RMagick # diff --git a/dissolve.rb.html b/dissolve.rb.html index 80f6dad..52ae903 100644 --- a/dissolve.rb.html +++ b/dissolve.rb.html @@ -17,6 +17,8 @@dissolve.rb
+# frozen_string_literal: true + require 'rmagick' bgnd = Magick::Image.read('images/Violin.jpg').first diff --git a/drawcomp.rb.html b/drawcomp.rb.html index db352b0..23b29b8 100644 --- a/drawcomp.rb.html +++ b/drawcomp.rb.html @@ -17,6 +17,8 @@drawcomp.rb
+# frozen_string_literal: true + require 'rmagick' # Read the snake image file and scale to 200 pixels high. diff --git a/drop_shadow.rb.html b/drop_shadow.rb.html index 3cb8260..3397ae7 100644 --- a/drop_shadow.rb.html +++ b/drop_shadow.rb.html @@ -17,6 +17,8 @@drop_shadow.rb
+# frozen_string_literal: true + require 'rmagick' # Add a drop shadow to a text string. This example diff --git a/edge.rb.html b/edge.rb.html index b4d3b30..48fa991 100644 --- a/edge.rb.html +++ b/edge.rb.html @@ -17,6 +17,8 @@edge.rb
+# frozen_string_literal: true + require 'rmagick' # Demonstrate the Image#edge method diff --git a/ellipse.rb.html b/ellipse.rb.html index 1d708b5..0912beb 100644 --- a/ellipse.rb.html +++ b/ellipse.rb.html @@ -17,6 +17,8 @@ellipse.rb
+# frozen_string_literal: true + require 'rmagick' imgl = Magick::ImageList.new diff --git a/ellipse01.rb.html b/ellipse01.rb.html index 98fa5c9..55cc8f9 100644 --- a/ellipse01.rb.html +++ b/ellipse01.rb.html @@ -17,6 +17,8 @@ellipse01.rb
+# frozen_string_literal: true + require 'rvg/rvg' Magick::RVG.dpi = 90 diff --git a/emboss.rb.html b/emboss.rb.html index 32691eb..8e2e0fe 100644 --- a/emboss.rb.html +++ b/emboss.rb.html @@ -17,6 +17,8 @@emboss.rb
+# frozen_string_literal: true + require 'rmagick' # Demonstrate the Image#edge method diff --git a/enhance.rb.html b/enhance.rb.html index 31937df..13adb61 100644 --- a/enhance.rb.html +++ b/enhance.rb.html @@ -17,6 +17,8 @@enhance.rb
+# frozen_string_literal: true + require 'rmagick' # Demonstrate the Image#enhance method diff --git a/equalize.rb.html b/equalize.rb.html index 3b08c4a..0f4c109 100644 --- a/equalize.rb.html +++ b/equalize.rb.html @@ -17,6 +17,8 @@equalize.rb
+# frozen_string_literal: true + require 'rmagick' # Demonstrate the Image#equalize method diff --git a/evenodd.rb.html b/evenodd.rb.html index fab8f3f..a8e46c7 100644 --- a/evenodd.rb.html +++ b/evenodd.rb.html @@ -17,6 +17,8 @@evenodd.rb
+# frozen_string_literal: true + require 'rvg/rvg' Magick::RVG.dpi = 90 diff --git a/fill_pattern.rb.html b/fill_pattern.rb.html index 92a5643..289757b 100644 --- a/fill_pattern.rb.html +++ b/fill_pattern.rb.html @@ -17,6 +17,8 @@fill_pattern.rb
+# frozen_string_literal: true + require 'rmagick' # Demonstrate the Magick::Draw#fill_pattern and #stroke_pattern attributes. diff --git a/flatten_images.rb.html b/flatten_images.rb.html index b420d45..d736716 100644 --- a/flatten_images.rb.html +++ b/flatten_images.rb.html @@ -17,6 +17,8 @@flatten_images.rb
+# frozen_string_literal: true + # Demonstrate flatten_images method. Create an image with a drop-shadow effect. require 'rmagick' diff --git a/flip.rb.html b/flip.rb.html index 8f8544e..da25dd1 100644 --- a/flip.rb.html +++ b/flip.rb.html @@ -17,6 +17,8 @@flip.rb
+# frozen_string_literal: true + require 'rmagick' # Demonstrate the Image#flip method diff --git a/flop.rb.html b/flop.rb.html index 0696779..e225181 100644 --- a/flop.rb.html +++ b/flop.rb.html @@ -17,6 +17,8 @@flop.rb
+# frozen_string_literal: true + require 'rmagick' # Demonstrate the Image#flop method diff --git a/font_styles.rb.html b/font_styles.rb.html index daa082f..a469fb6 100644 --- a/font_styles.rb.html +++ b/font_styles.rb.html @@ -17,6 +17,8 @@font_styles.rb
+# frozen_string_literal: true + require 'rvg/rvg' rvg = Magick::RVG.new(200, 250) do |canvas| diff --git a/fonts.rb.html b/fonts.rb.html index 155208e..95d48d6 100644 --- a/fonts.rb.html +++ b/fonts.rb.html @@ -17,6 +17,8 @@fonts.rb
+# frozen_string_literal: true + require 'rmagick' # Compute column widths diff --git a/frame.rb.html b/frame.rb.html index bac5885..c3c3f01 100644 --- a/frame.rb.html +++ b/frame.rb.html @@ -17,6 +17,8 @@frame.rb
+# frozen_string_literal: true + require 'rmagick' # Demonstrate the Image#frame method diff --git a/gaussian_blur.rb.html b/gaussian_blur.rb.html index 563dde9..80e7c0a 100644 --- a/gaussian_blur.rb.html +++ b/gaussian_blur.rb.html @@ -17,6 +17,8 @@gaussian_blur.rb
+# frozen_string_literal: true + require 'rmagick' # Demonstrate the Image#gaussian_blur method diff --git a/get_multiline_type_metrics.rb.html b/get_multiline_type_metrics.rb.html index 912714a..61bd45d 100644 --- a/get_multiline_type_metrics.rb.html +++ b/get_multiline_type_metrics.rb.html @@ -17,6 +17,8 @@get_multiline_type_metrics.rb
+# frozen_string_literal: true + require 'rmagick' TEXT = 'get\nmultiline\ntype\nmetrics' diff --git a/get_pixels.rb.html b/get_pixels.rb.html index e0c5098..eef4b7e 100644 --- a/get_pixels.rb.html +++ b/get_pixels.rb.html @@ -17,6 +17,8 @@get_pixels.rb
+# frozen_string_literal: true + require 'rmagick' # Demonstrate partial transparency and the get_pixels and diff --git a/get_type_metrics.rb.html b/get_type_metrics.rb.html index 2d54e84..36419de 100644 --- a/get_type_metrics.rb.html +++ b/get_type_metrics.rb.html @@ -17,6 +17,8 @@get_type_metrics.rb
+# frozen_string_literal: true + require 'rmagick' # Add a method for drawing braces. diff --git a/gradientfill.rb.html b/gradientfill.rb.html index 6eb018e..29ef777 100644 --- a/gradientfill.rb.html +++ b/gradientfill.rb.html @@ -17,6 +17,8 @@gradientfill.rb
+# frozen_string_literal: true + require 'rmagick' # Demonstrate the GradientFill class diff --git a/grav.rb.html b/grav.rb.html index 49c4c85..eed2f21 100644 --- a/grav.rb.html +++ b/grav.rb.html @@ -17,6 +17,8 @@grav.rb
+# frozen_string_literal: true + require 'rmagick' imgl = Magick::ImageList.new diff --git a/gravity.rb.html b/gravity.rb.html index a40b029..d0456a4 100644 --- a/gravity.rb.html +++ b/gravity.rb.html @@ -17,6 +17,8 @@gravity.rb
+# frozen_string_literal: true + # # A RMagick version of Magick++/demo/gravity.cpp # diff --git a/group.rb.html b/group.rb.html index beddead..d59f783 100644 --- a/group.rb.html +++ b/group.rb.html @@ -17,6 +17,8 @@group.rb
+# frozen_string_literal: true + require 'rvg/rvg' Magick::RVG.dpi = 90 diff --git a/hatchfill.rb.html b/hatchfill.rb.html index 0a86f85..92d3073 100644 --- a/hatchfill.rb.html +++ b/hatchfill.rb.html @@ -17,6 +17,8 @@hatchfill.rb
+# frozen_string_literal: true + require 'rmagick' # Demonstrate the HatchFill class diff --git a/image.rb.html b/image.rb.html index 15c46f8..ee94c3a 100644 --- a/image.rb.html +++ b/image.rb.html @@ -17,6 +17,8 @@image.rb
+# frozen_string_literal: true + require 'rvg/rvg' rvg = Magick::RVG.new(525, 270) do |canvas| diff --git a/implode.rb.html b/implode.rb.html index 02f8fb7..d02628b 100644 --- a/implode.rb.html +++ b/implode.rb.html @@ -17,6 +17,8 @@implode.rb
+# frozen_string_literal: true + require 'rmagick' img = Magick::Image.read('images/Flower_Hat.jpg').first diff --git a/initial_coords.rb.html b/initial_coords.rb.html index 5893b91..376a138 100644 --- a/initial_coords.rb.html +++ b/initial_coords.rb.html @@ -17,6 +17,8 @@initial_coords.rb
+# frozen_string_literal: true + require 'rvg/rvg' rvg = Magick::RVG.new(300, 100) do |canvas| diff --git a/level.rb.html b/level.rb.html index a56df2a..7b06a6c 100644 --- a/level.rb.html +++ b/level.rb.html @@ -17,6 +17,8 @@level.rb
+# frozen_string_literal: true + require 'rmagick' # Demonstrate the Image#level method diff --git a/level_colors.rb.html b/level_colors.rb.html index 2b0355d..1031b25 100644 --- a/level_colors.rb.html +++ b/level_colors.rb.html @@ -17,6 +17,8 @@level_colors.rb
+# frozen_string_literal: true + require 'rmagick' img = Magick::Image.read('images/Flower_Hat.jpg').first diff --git a/line.rb.html b/line.rb.html index 920bc13..1ad6df6 100644 --- a/line.rb.html +++ b/line.rb.html @@ -17,6 +17,8 @@line.rb
+# frozen_string_literal: true + require 'rmagick' imgl = Magick::ImageList.new diff --git a/line01.rb.html b/line01.rb.html index 4d5714c..3cc0ab4 100644 --- a/line01.rb.html +++ b/line01.rb.html @@ -17,6 +17,8 @@line01.rb
+# frozen_string_literal: true + require 'rvg/rvg' Magick::RVG.dpi = 90 diff --git a/mask.rb.html b/mask.rb.html index 09f96f3..bd536de 100644 --- a/mask.rb.html +++ b/mask.rb.html @@ -17,6 +17,8 @@mask.rb
+# frozen_string_literal: true + require 'rmagick' # This example demonstrates the mask attribute. The mask image must diff --git a/matte_fill_to_border.rb.html b/matte_fill_to_border.rb.html index a5736b2..a4734e0 100644 --- a/matte_fill_to_border.rb.html +++ b/matte_fill_to_border.rb.html @@ -17,6 +17,8 @@matte_fill_to_border.rb
+# frozen_string_literal: true + require 'rmagick' img = Magick::Image.new(200, 200) diff --git a/matte_floodfill.rb.html b/matte_floodfill.rb.html index fa20e96..62f7613 100644 --- a/matte_floodfill.rb.html +++ b/matte_floodfill.rb.html @@ -17,6 +17,8 @@matte_floodfill.rb
+# frozen_string_literal: true + require 'rmagick' img = Magick::Image.new(200, 200) diff --git a/matte_replace.rb.html b/matte_replace.rb.html index 6c69077..76f1580 100644 --- a/matte_replace.rb.html +++ b/matte_replace.rb.html @@ -17,6 +17,8 @@matte_replace.rb
+# frozen_string_literal: true + require 'rmagick' img = Magick::Image.new(200, 200) diff --git a/median_filter.rb.html b/median_filter.rb.html index bece2e0..e6c3c10 100644 --- a/median_filter.rb.html +++ b/median_filter.rb.html @@ -17,6 +17,8 @@median_filter.rb
+# frozen_string_literal: true + require 'rmagick' # Demonstrate the Image#median_filter method diff --git a/modulate.rb.html b/modulate.rb.html index 446b3e7..9532061 100644 --- a/modulate.rb.html +++ b/modulate.rb.html @@ -17,6 +17,8 @@modulate.rb
+# frozen_string_literal: true + require 'rmagick' # Demonstrate the Image#modulate method diff --git a/mono.rb.html b/mono.rb.html index 6ed6577..eaa2715 100644 --- a/mono.rb.html +++ b/mono.rb.html @@ -17,6 +17,8 @@mono.rb
+# frozen_string_literal: true + require 'rmagick' # Demonstrate the ImageListImage#quantize method by converting diff --git a/morph.rb.html b/morph.rb.html index 1e5107d..31386bd 100644 --- a/morph.rb.html +++ b/morph.rb.html @@ -17,6 +17,8 @@