Sha256: f9f845e637bc9faab6aac36a013d31237633d1d1867621361efc01a9132610b1
Contents?: true
Size: 891 Bytes
Versions: 94
Compression:
Stored size: 891 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] # +quality+:: JPEG image quality [Integer] # def initialize(a, pix=nil, opts=0, width=1, height=1, quality=75) # :yields: theJPGImage end end end
Version data entries
94 entries across 94 versions & 1 rubygems