From 16c6e23b3a6552fdb7a5572532bace474959c5c6 Mon Sep 17 00:00:00 2001 From: khiem-nguyen Date: Thu, 6 Oct 2016 19:43:19 +0900 Subject: [PATCH] remove Magick::QuantumDepth --- lib/swf_ruby/swf/bits_lossless2.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/swf_ruby/swf/bits_lossless2.rb b/lib/swf_ruby/swf/bits_lossless2.rb index 54c8c40..c0e9aa1 100644 --- a/lib/swf_ruby/swf/bits_lossless2.rb +++ b/lib/swf_ruby/swf/bits_lossless2.rb @@ -5,8 +5,8 @@ module Swf class BitsLossless2 attr_accessor :format, :width, :height, :color_table_size, :zlib_bitmap_data - ShiftDepth = Magick::QuantumDepth - 8 - MaxRGB = 2 ** Magick::QuantumDepth - 1 + ShiftDepth = Magick::MAGICKCORE_QUANTUM_DEPTH - 8 + MaxRGB = 2 ** Magick::MAGICKCORE_QUANTUM_DEPTH - 1 def initialize(image_bytearray) image = Magick::Image.from_blob(image_bytearray).first