Sha256: 414462754aa5b9d0aa44be7620f307f882212daf09d4b7ba18d4acc805bc6e2c
Contents?: true
Size: 820 Bytes
Versions: 5
Compression:
Stored size: 820 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] # +w+:: width [Integer] # +h+:: height [Integer] # def initialize(a, pix=nil, opts=0, w=1, h=1) # :yields: theJPGImage end end end
Version data entries
5 entries across 5 versions & 1 rubygems