examples/constitute.rb in rmagick-3.1.0 vs examples/constitute.rb in rmagick-3.2.0
- old
+ new
@@ -2,6 +2,6 @@
require 'rmagick'
f = Magick::Image.read('../doc/ex/images/Flower_Hat.jpg').first
pixels = f.dispatch(0, 0, f.columns, f.rows, 'RGB')
image = Magick::Image.constitute(f.columns, f.rows, 'RGB', pixels)
-image.write('constitute.miff')
+image.write('constitute.png')