in the testcases.
if that bug is present, note that this bug only affects the more
"advanced" features of libgif.
+If for some reason you have libungif-devel package installed but
+not libungif on RedHat then you will probably get lots of errors
+like undefined symbol: FreeSavedImages when running make test.
+Install libungif package to fix it.
+
+
Imager needs to have a fairly recent libtiff installed (we know it
it runs fine with 3.5.5). In the future we might consider supporting older
libtiff versions. For now you can either configure Imager manually (by
c2 = 1.0/(float)(cmatch[midx]);
c1 = 1.0-c2;
- // printf("pixel [%d %d %d] c1+c2 = %f\n", val.channel[0], val.channel[1], val.channel[2], c1+c2);
- // printf("cmatch = %d, c1 = %f, c2 = %f tval=[%f %f %f]\n", cmatch[midx], c1, c2, tval[midx*im->channels], tval[midx*im->channels+1], tval[midx*im->channels+2] );
-
for(ch = 0; ch<im->channels; ch++)
tval[midx*im->channels + ch] = c1*tval[midx*im->channels + ch] + c2 * (float) val.channel[ch];
print test_readgif_cb(1024) ? "ok 10\n" : "not ok 10\n";
}
else {
- print "ok $_ # skip giflib3 doesn't support callbacks\n" for (7..10);
+ for (7..10) {
+ print "ok $_ # skip giflib3 doesn't support callbacks\n";
+ }
}
open FH, ">testout/t105_mc.gif" or die "Cannot open testout/t105_mc.gif";
binmode FH;
print "ok 1\n";
-Imager::init(log=>"testout/t50basicoo.log");
+Imager::init("log"=>"testout/t50basicoo.log");
%hsh=%Imager::formats;