Group
Extension

Matches 5

Imager ( T/TO/TONYC/Imager-1.019.tar.gz, TONYC, 2022; MetaCPAN )
Imager/t/300-transform/030-copyflip.t ( view source; MetaCPAN )
 => 95;
use Imager;
use Imager::Test qw(is_color3 is_image is_imaged test_image_double test_image isnt_image is_image_similar);

#$Imager::DEBUG=1;

-d "testout" or mkdir "testout";

Imager::init('log
tted", "check copy test image is paletted");
  ok($impal->flip(dir => "h"), "flip paletted h");
  isnt_image($impal, $imcp, "check it changed");
  ok($impal->flip(dir => "v"), "flip paletted v");
  ok
Imager ( T/TO/TONYC/Imager-1.019.tar.gz, TONYC, 2022; MetaCPAN )
Imager/t/350-font/030-ttoo.t ( view source; MetaCPAN )
test is moved to ./t subdirectory.)
use Test::More tests => 25;

use Imager;

use Imager::Test qw(isnt_image is_image);

-d "testout" or mkdir "testout";

Imager->open_log(log => "testout/t36oofont.lo
size => 20, ysize => 20);
      my $cmp = $work->copy;
      $work->rubthrough(src => $im);
      isnt_image($work, $cmp, "make sure something was drawn");
    }
  }

  { # RT 73359
    # non-AA font 
Imager ( T/TO/TONYC/Imager-1.019.tar.gz, TONYC, 2022; MetaCPAN )
Imager/t/350-font/020-tt.t ( view source; MetaCPAN )
be 8 entries");
    isnt($bbox[6], $bbox[2], "different advance width from pos width");
    print "# @bbox\n";
    my $bbox = $hcfont->bounding_box(string=>"/", size=>100);
    isnt($bbox->pos_width, 
Imager ( T/TO/TONYC/Imager-1.019.tar.gz, TONYC, 2022; MetaCPAN )
Imager/t/150-type/040-palette.t ( view source; MetaCPAN )
GIN { use_ok("Imager", ':handy'); }

use Imager::Test qw(image_bounds_checks test_image is_color3 isnt_image is_color4 is_fcolor3);

Imager->open_log(log => "testout/t023palette.log");

sub isbin($$$)
, "convert to mono with error diffusion");
  my $blank = Imager->new(xsize => 10, ysize => 10);
  isnt_image($palim, $blank, "make sure paletted isn't all black");
}

{ # check validation of palette e
Imager ( T/TO/TONYC/Imager-1.019.tar.gz, TONYC, 2022; MetaCPAN )
Imager/t/150-type/020-sixteen.t ( view source; MetaCPAN )
ze=>201, bits=>16);
ok($oo16img, "make a 16-bit oo image");
is($oo16img->bits,  16, "test bits");
isnt($oo16img->is_bilevel, "should not be considered mono");
# make sure of error handling
ok(!Imager-

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.