From: Bradley K. E. <bk...@bk...> - 2006-09-20 04:05:33
|
Bradley K. Embree wrote: > Mattia Barbon wrote: >> On Sun, 17 Sep 2006 21:58:56 -0700 >> "Bradley K. Embree" <bk...@bk...> wrote: >> >> Hi, >> >>> open my $fh, '<', \$chart_bmp or die "cannot open: $!"; >>> $bmp = Wx::Bitmap->new( >>> Wx::Image->new( $fh, wxBITMAP_TYPE_BMP, -1 ) >>> ); >>> >>> Which gives me an error of 'DIB Header: Image width > 32767 pixels >>> for file.'. >> >> This should work, though. I will have a look at it. >> Which wxPerl/wxWidgets versions and platform are you using? >> > > OS: Windows 2000 SP4 > Perl: v5.8.7 built for MSWin32-x86-multi-thread > Binary build 815 [211909] provided by ActiveState > wxPerl: 0.5 installed from www.gigi.co.uk. > wxWidgets: 2.6.3 > > > I installed the latest perl from ActiveState (5.8.8 build 819) and got > the same error message using wxPerl 0.5. > > I then installed the latest wxPerl PPMs (compiled against wxWidgets > 2.7.0) from www.gigi.co.uk and got the same error: > > wxPerl: 0.56 > wxWidgets: 2.7.0 > > > I plan on getting my Ubuntu machine up and running so I can test on > there as well, and will let you know the results. I've since tried this on an Ubuntu box which also failed. I've attached the output of perl -V from both my Windows 2000 PC and my Ubuntu PC. On the Ubuntu PC I had: Alien::wxWidgets 0.21 wxPerl 0.57 wxWidgets 2.6.3 and still no luck. Not sure if that helps or not. :) Brad |