my $gd_image = GD::Image->newFromPngData($gd->png);