lib/prawn/images/jpg.rb in prawn-1.0.0 vs lib/prawn/images/jpg.rb in prawn-1.1.0
- old
+ new
@@ -14,10 +14,10 @@
# A convenience class that wraps the logic for extracting the parts
# of a JPG image that we need to embed them in a PDF
#
class JPG < Image
# @group Extension API
-
+
attr_reader :width, :height, :bits, :channels
attr_accessor :scaled_width, :scaled_height
JPEG_SOF_BLOCKS = [0xC0, 0xC1, 0xC2, 0xC3, 0xC5, 0xC6, 0xC7, 0xC9, 0xCA, 0xCB, 0xCD, 0xCE, 0xCF]