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

Version Path
fxruby-1.6.48 rdoc-sources/FXJPGImage.rb
fxruby-1.6.48-x64-mingw32 rdoc-sources/FXJPGImage.rb
fxruby-1.6.48-x64-mingw-ucrt rdoc-sources/FXJPGImage.rb
fxruby-1.6.48-x86-mingw32 rdoc-sources/FXJPGImage.rb
fxruby-1.6.47 rdoc-sources/FXJPGImage.rb
fxruby-1.6.47-x64-mingw-ucrt rdoc-sources/FXJPGImage.rb
fxruby-1.6.47-x64-mingw32 rdoc-sources/FXJPGImage.rb
fxruby-1.6.47-x86-mingw32 rdoc-sources/FXJPGImage.rb
fxruby-1.6.46 rdoc-sources/FXJPGImage.rb
fxruby-1.6.46-x64-mingw32 rdoc-sources/FXJPGImage.rb
fxruby-1.6.46-x64-mingw-ucrt rdoc-sources/FXJPGImage.rb
fxruby-1.6.46-x86-mingw32 rdoc-sources/FXJPGImage.rb
fxruby-1.6.45 rdoc-sources/FXJPGImage.rb
fxruby-1.6.45-x64-mingw32 rdoc-sources/FXJPGImage.rb
fxruby-1.6.45-x64-mingw-ucrt rdoc-sources/FXJPGImage.rb
fxruby-1.6.45-x86-mingw32 rdoc-sources/FXJPGImage.rb
fxruby-1.6.44 rdoc-sources/FXJPGImage.rb
fxruby-1.6.44-x64-mingw32 rdoc-sources/FXJPGImage.rb
fxruby-1.6.44-x86-mingw32 rdoc-sources/FXJPGImage.rb
fxruby-1.6.43 rdoc-sources/FXJPGImage.rb