lib/free-image/sources/abstract_source.rb in free-image-0.7.0 vs lib/free-image/sources/abstract_source.rb in free-image-0.7.1

- old
+ new

@@ -58,10 +58,12 @@ TIFF_CMYK = 0x1 end # The Encoder module defines various constants that # control how various image formats are saved. + # + # Note, some image formats, such as JPEG, reserve an optional integer range for setting the quality level. For example, to save a progressive JPEG with a quality of 90 (out of 100), you'd use the following flag <tt>90 | JPEG_PROGRESSIVE</tt>. For more information, refer to the FreeImage documentation: http://freeimage.sourceforge.net/documentation.html. module Encoder BMP_DEFAULT = 0x0 BMP_SAVE_RLE = 0x1 # Save data as half with piz-based wavelet compression EXR_DEFAULT = 0x0 @@ -174,6 +176,6 @@ raise(error) end Bitmap.new(ptr, self) end end -end \ No newline at end of file +end