open(my $image_fh, '<', \$decoded); my $image = Wx::Bitmap->new( Wx::Image->new( $image_fh, wxBITMAP_TYPE_ANY ) );