This commit is contained in:
Martin Pernollet 2022-11-29 16:36:13 +01:00
parent 3fc38bc645
commit 37be906c85
1 changed files with 5 additions and 0 deletions

View File

@ -386,9 +386,14 @@ public class TestGifExporter {
for (int i = 0; i < d.getFrameCount(); i++) {
int t = d.getDelay(i);
System.out.println(t);
duration += t;
}
if(d.getFrameCount()==0) {
System.err.println("WARNING : there was no image in the file " + file.getAbsolutePath());
}
return duration;
}