lib/hexapdf/image_loader/jpeg.rb in hexapdf-0.1.0 vs lib/hexapdf/image_loader/jpeg.rb in hexapdf-0.2.0

- old
+ new

@@ -47,10 +47,10 @@ # The various start-of-frame markers that tell us which kind of JPEG it is. The marker # segment itself contains all the needed information needed for creating the PDF image # object. # # See: ITU T.81 B1.1.3 - SOF_MARKERS = [0xC0, 0xC1, 0xC2, 0xC3, 0xC5, 0xC6, 0xC7, 0xC9, 0xCA, 0xCB, 0xCD, 0xCE, 0xCF] + SOF_MARKERS = [0xC0, 0xC1, 0xC2, 0xC3, 0xC5, 0xC6, 0xC7, 0xC9, 0xCA, 0xCB, 0xCD, 0xCE, 0xCF].freeze # Adobe uses the marker 0xEE (APPE) for its purposes. We need to use it for determinig # whether to invert the colors for CMYK/YCCK images or not (Adobe does this...). # # The marker also let's us distinguish between YCCK and CMYK images. However, we don't