Skip to content
Snippets Groups Projects
Commit 5cbc18c2 authored by Lars Kanis's avatar Lars Kanis
Browse files

Add quality parameter to FXJPGImage and FXJPGIcon

parent 1646eeec
No related branches found
No related tags found
No related merge requests found
......@@ -31,8 +31,9 @@ module Fox
# +opts+:: options [Integer]
# +width+:: width [Integer]
# +height+:: height [Integer]
# +quality+:: JPEG image quality [Integer]
#
def initialize(a, pix=nil, clr=0, opts=0, width=1, height=1) # :yields: theJPGIcon
def initialize(a, pix=nil, clr=0, opts=0, width=1, height=1, quality=75) # :yields: theJPGIcon
end
end
#
......
......@@ -30,8 +30,9 @@ module Fox
# +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) # :yields: theJPGImage
def initialize(a, pix=nil, opts=0, width=1, height=1, quality=75) # :yields: theJPGImage
end
end
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment