Sha256: f79b911dc1a84cce36f2a34479bed19e51d7cee9ec10e3a5b9786107d906f9ff
Contents?: true
Size: 838 Bytes
Versions: 37
Compression:
Stored size: 838 Bytes
Contents
module Fox # # JPEG Image class # class FXJPGImage < FXImage # # Return the suggested file extension for this image type ("jpg"). # def FXJPGImage.fileExt; end # # Return the MIME type for this image type # def FXJPGImage.mimeType; end # Return +true+ if JPEG image file format is supported. def FXJPGImage.supported? ; end # Image quality attr_accessor :quality # # Return an initialized FXJPGImage instance. # # ==== Parameters: # # +a+:: an application instance [FXApp] # +pix+:: a memory buffer formatted in JPEG file format [String] # +opts+:: options [Integer] # +width+:: width [Integer] # +height+:: height [Integer] # def initialize(a, pix=nil, opts=0, width=1, height=1) # :yields: theJPGImage end end end
Version data entries
37 entries across 37 versions & 2 rubygems