From: Bradley K. E. <bk...@bk...> - 2006-09-19 03:35:21
|
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. Thanks Mattia, Brad |