Hello Hopefully some developer will see this too. I''ve problems using set_data method for example with wxruby 1.9.7/ruby 1.8.6 on mswin32. It always crashes: ..../classes/bitmap.rb:17: [BUG] segmentation fault On my Linux it works fine (thats no suprise of course). Probably somebody has a clue - I exported this raw data also with get_data, I guess this should be platform independent or not? cheers -- Georg ''Therion'' Bege http://coruscant.info http://www.ninth-art.de therion@ninth-art.de <therion at ninth minus art dot de> !DSPAM:4868b85f132156216567211!
Alex Fenton
2008-Jun-30 11:04 UTC
[wxruby-users] Issue with Wx::Image class, especially set_data
Georg Bege wrote:> Hopefully some developer will see this too. > I''ve problems using set_data method for example with wxruby 1.9.7/ruby > 1.8.6 on mswin32. > It always crashes: > ..../classes/bitmap.rb:17: [BUG] segmentation fault > > On my Linux it works fine (thats no suprise of course)Thanks for the report. I developed it on OS X and tried it on Linux, and I''ve not had any problems. Could you post a minimal sample of the code you''re using that reproduces the fault, and also give us an idea of what you''re trying to achieve?> Probably somebody has a clue - I exported this raw data also with > get_data, I guess this should be platform independent or not?Yes - Wx::Bitmap is a platform-dependent image, Wx::Image is platform independent thanks alex