http://www.perlmonks.org?node_id=289035


in reply to Re: Re: wxPerl image handling (short & sweet).
in thread wxPerl image handling (short & sweet).

Thanks - that fixed it.

I also had to change the ConvertToBitmap method call (listed as deprecated in the doco, and not found at runtime) to a Wx::Bitmap->new call.

So now it runs, but photos look just awful. It looks like there isn't enough colour depth, but $bmp->getDepth() returns 24.

  • Comment on Re: Re: Re: wxPerl image handling (short & sweet).

Replies are listed 'Best First'.
Re: Re: Re: Re: wxPerl image handling (short & sweet).
by sandfly (Beadle) on Sep 10, 2003 at 22:01 UTC
    It seems the problem is displaying images below their native resolution. I think there's something wrong with the way the bitmap merges pixels.
Re^4: wxPerl image handling (short & sweet).
by Anonymous Monk on Jul 12, 2006 at 10:13 UTC
    Kind of old thread but anyway. When I do my $bmp = Wx::Bitmap->new(); insted of CovertToBitmap i get overload error. Can you help me?