Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re: Re: wxPerl image handling (short & sweet).

by PodMaster (Abbot)
on Sep 03, 2003 at 20:38 UTC ( #288735=note: print w/replies, xml ) Need Help??

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

Yes, you installed a modern version of Wx {grin}

If you examine released about the same time as this tutorial, you can see a Wx::Image listed (also in

If you examine you can see there is no, but (like still exists.

This means that you only need to say "use Wx;" and the Wx::Image package will be loaded.

MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
** The third rule of perl club is a statement of fact: pod is sexy.

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

Replies are listed 'Best First'.
Re: Re: Re: wxPerl image handling (short & sweet).
by Anonymous Monk on Sep 04, 2003 at 21:35 UTC
    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.

      It seems the problem is displaying images below their native resolution. I think there's something wrong with the way the bitmap merges pixels.
      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?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://288735]
[erix]: well, I hope you're right
[Your Mother]: Bill Clinton assaulted and raped repeatedly. Even when it was hinted and finally all but proved, no one cared because his sexism, and racism, and killing was decorous.
[Your Mother]: I think Trump might be better specifically because no one respects him so he won't get his way the way the others did.
[Your Mother]: (I certainly did not vote for him and have been an outspoken critic of his for three decades, by the by.)
[erix]: I'd like Russia threatened a bit more, flattered a bit less
[Your Mother]: The last two regimes killed a million, displaced 10 million, torture prisons, and ruined countries… somehow it's magically bad _now_.
[erix]: what/who are the last two regimes?
[Your Mother]: Bush/Obama. 15 straight years of warfare, torture, etc, etc.
[Your Mother]: All caused by the political fallout of Carter/Reagan when the Afghan chickens came home to roost on 9/11.
[Your Mother]: US foreign policy is toxic and like a broken record.

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2017-01-20 01:05 GMT
Find Nodes?
    Voting Booth?
    Do you watch meteor showers?

    Results (173 votes). Check out past polls.