Group
Extension

Matches 8

Imager ( T/TO/TONYC/Imager-1.024_004.tar.gz, TONYC, 2024; 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.024_004.tar.gz, TONYC, 2024; 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.024_004.tar.gz, TONYC, 2024; MetaCPAN )
Imager/t/100-base/010-introvert.t ( view source; MetaCPAN )
r equal images");
    ok($im->setpixel(x => 0, y => 1, color => $red), "modify first image");
    isnt(i_img_diff($im->{IMG}, $im2->{IMG}), 0, "basic i_img_diff test for inequal images");
  }
  {
    
s => 4, data => [ 0, 0, 0, 255 ], width => 1), 4,
       "set the extra samples on a pixel");
    isnt(i_img_diff($im->{IMG}, $im2->{IMG}), 0, "extras i_img_diff test for inequal images");

    my $im
Imager ( T/TO/TONYC/Imager-1.024_004.tar.gz, TONYC, 2024; 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
                    test_image_pal to_linear_srgb to_linear_srgbf is_a
, "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.024_004.tar.gz, TONYC, 2024; 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.024_004.tar.gz, TONYC, 2024; MetaCPAN )
Imager/t/150-type/020-sixteen.t ( view source; MetaCPAN )
16-bit oo image");
check_vtable($oo16img, "16-bit vtable");
is($oo16img->bits,  16, "test bits");
isnt($oo16img->is_bilevel, "should not be considered mono");
# make sure of error handling
ok(!Imager-
Imager ( T/TO/TONYC/Imager-1.024_004.tar.gz, TONYC, 2024; MetaCPAN )
Imager/t/150-type/060-lin16.t ( view source; MetaCPAN )
6-bit linear vtable");
is($oo16img->bits,  16, "test bits");
ok($oo16img->linear, "it's linear");
isnt($oo16img->is_bilevel, "should not be considered mono");
# make sure of error handling
ok(!Imager-
Imager ( T/TO/TONYC/Imager-1.024_004.tar.gz, TONYC, 2024; MetaCPAN )
Imager/t/150-type/070-lindbl.t ( view source; MetaCPAN )
linear vtable");
is($oo16img->bits,  "double", "test bits");
ok($oo16img->linear, "it's linear");
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.