o read from $filename: $!\n";
next;
}
info("Scanning $filename ...");
my $c = do { local $/; <IN> };
close IN;
my %file = (orig => $c, changes => 0);
# Temporarily remove C/XS comm
o read from $filename: $!\n";
next;
}
info("Scanning $filename ...");
my $c = do { local $/; <IN> };
close IN;
my %file = (orig => $c, changes => 0);
# Temporarily remove C/XS comm
.gif"
or die "Cannot open testimg/screen2.gif: $!";
binmode FH;
my $data = do { local $/; <FH>; };
close FH;
@imgs = Imager->read_multi(type=>'gif',
data=>$data);
/t105i.ppm";
my $datai = do { local $/; <FH> };
close FH;
open FH, "<testout/t105ni.ppm" or die "Cannot open testout/t105ni.ppm";
my $datani = do { local $/; <FH> };
close FH;
is($datai,
o read from $filename: $!\n";
next;
}
info("Scanning $filename ...");
my $c = do { local $/; <IN> };
close IN;
my %file = (orig => $c, changes => 0);
# Temporarily remove C/XS comm
ATA, "< $filename"
or die "Cannot open $filename: $!";
binmode IMDATA;
my $data = do { local $/; <IMDATA> };
for my $offset (keys %$patches) {
(my $hdata = $patches->{$offset}) =~ tr/ //
gv eq "0" || $gv eq $]) {
open G, "$gold" or die "Cannot open $gold: $!";
my $g = do { local $/; <G> };
close G or die "Cannot close $gold: $!";
print STDERR "checking $new_gold again
a;
open RAWVIDEO, "< $from"
or die "Cannot open $from: $!\n";
binmode RAWVIDEO;
$data = do { local $/; <RAWVIDEO> };
close RAWVIDEO;
length $data >= $width * $height * 3
or die "Not enough data f
o read from $filename: $!\n";
next;
}
info("Scanning $filename ...");
my $c = do { local $/; <IN> };
close IN;
my %file = (orig => $c, changes => 0);
# Temporarily remove C/XS comm
.tif')
or skip 'cannot open testimg/pengtile.tif', 4;
binmode TIFF;
my $data = do { local $/; <TIFF>; };
# patch a tile offset
substr($data, 0x1AFA0, 4) = pack("H*", "00000200");
o read from $filename: $!\n";
next;
}
info("Scanning $filename ...");
my $c = do { local $/; <IN> };
close IN;
my %file = (orig => $c, changes => 0);
# Temporarily remove C/XS comm
img/exiftest.jpg"
or skip "can't open base data", 1;
binmode BASEDATA;
my $data = do { local $/; <BASEDATA> };
close BASEDATA;
substr($data, 3, 1) eq "\xE1"
or skip "base data isn't
img/exiftest.jpg"
or skip "can't open base data", 1;
binmode BASEDATA;
my $data = do { local $/; <BASEDATA> };
close BASEDATA;
substr($data, -1000) = '';
my $im = Imager->new;
ok($i
img/exiftest.jpg"
or skip "can't open base data", 1;
binmode BASEDATA;
my $data = do { local $/; <BASEDATA> };
close BASEDATA;
substr($data, 2, 0) = $app13;
my $im = Imager->new;
ok
o read from $filename: $!\n";
next;
}
info("Scanning $filename ...");
my $c = do { local $/; <IN> };
close IN;
my %file = (orig => $c, changes => 0);
# Temporarily remove C/XS comm
o read from $filename: $!\n";
next;
}
info("Scanning $filename ...");
my $c = do { local $/; <IN> };
close IN;
my %file = (orig => $c, changes => 0);
# Temporarily remove C/XS comm
o read from $filename: $!\n";
next;
}
info("Scanning $filename ...");
my $c = do { local $/; <IN> };
close IN;
my %file = (orig => $c, changes => 0);
# Temporarily remove C/XS comm
o read from $filename: $!\n";
next;
}
info("Scanning $filename ...");
my $c = do { local $/; <IN> };
close IN;
my %file = (orig => $c, changes => 0);
# Temporarily remove C/XS comm
o read from $filename: $!\n";
next;
}
info("Scanning $filename ...");
my $c = do { local $/; <IN> };
close IN;
my %file = (orig => $c, changes => 0);
# Temporarily remove C/XS comm
o read from $filename: $!\n";
next;
}
info("Scanning $filename ...");
my $c = do { local $/; <IN> };
close IN;
my %file = (orig => $c, changes => 0);
# Temporarily remove C/XS comm
o read from $filename: $!\n";
next;
}
info("Scanning $filename ...");
my $c = do { local $/; <IN> };
close IN;
my %file = (orig => $c, changes => 0);
# Temporarily remove C/XS comm
o read from $filename: $!\n";
next;
}
info("Scanning $filename ...");
my $c = do { local $/; <IN> };
close IN;
my %file = (orig => $c, changes => 0);
# temporarily remove C comment