Displaying 3 results from an estimated 3 matches for "bitmap_type_jpeg".
2006 Aug 27
3
Licensing issues
I was trying to figure out a license for the samples, and stumbled
across a couple other issues that affect how we should be building
wxWidgets for inclusion into our gem.
If possible, we should NOT build in TIFF nor JPEG support, as both have
special attribution requirements. Other wx modules do as well, but we
don''t use them anyway (ODBC, wxXML, and wx 2.4 regex).
For those of you
2004 Jan 08
3
pictorG
...M_HEIGHT
thm_w,thm_h=THM_WIDTH,THM_HEIGHT
if xscale>=yscale
thm_h=(h/xscale+0.5).to_i
else
thm_w=(w/yscale+0.5).to_i
end
img.rescale(thm_w,thm_h)
dir,fn=thm_name filename
Dir.mkdir(dir) unless FileTest.directory? dir
img.save_file dir+"/"+fn, BITMAP_TYPE_JPEG
end
def show_list list
num_images=list.length
log_status ''Removing images''
@imageList.remove_all
clear_all
list.each_with_index{|fn,i|
insert_item i,fn,i
}
Thread.new {
Thread.current.priority=-1
list.each_with_index{|fn,i|
log_...
2007 Jan 03
12
instalation problem
Hi
Im testing wxRuby. I have a problem when ruby try to load the load wx.
Im newbie to ruby, maybe a make a simple mistake :
Best regards.
Install wxRuby--------------------------------------------------------------
pedro@la-vaca-azul:~$ sudo gem install wxruby2-preview
Need to update 2 gems from http://gems.rubyforge.org
..
complete
Select which gem to install for your platform (i486-linux)