* changed t31tic_color.t to check against different images based on the presence...
[imager-graph.git] / t / t32series_labels.t
index 73f50f1f19a04a7c3a77d38399308879a448a287..bb8ff61170f5d600b0cf383211e0019f1817a08f 100644 (file)
@@ -55,16 +55,11 @@ sub cmpimg {
 
   $limit ||= 10000;
 
- SKIP:
-  {
-    $Imager::formats{png}
-      or skip("No PNG support", 1);
-
-    my $cmpimg = Imager->new;
-    $cmpimg->read(file=>$file)
-      or return ok(0, "Cannot read $file: ".$cmpimg->errstr);
-    my $diff = Imager::i_img_diff($img->{IMG}, $cmpimg->{IMG});
-    cmp_ok($diff, '<', $limit, "Comparison to $file ($diff)");
-  }
+  my $cmpimg = Imager->new;
+  $cmpimg->read(file=>$file)
+    or return ok(0, "Cannot read $file: ".$cmpimg->errstr);
+  my $diff = Imager::i_img_diff($img->{IMG}, $cmpimg->{IMG});
+  cmp_ok($diff, '<', $limit, "Comparison to $file ($diff)");
+
 }