Help for this page
my $MyImage = GD::Image->newFromJpeg($file, 0);
my $MyImage = GD::Image->newFromPng($file, 0);