I find only a small perl script on

http://homepage2.nifty.com/sophia0/soft/png/cyclo.txt

Qt Code:
  1. &InitCrcTable;
  2.  
  3. $r = "NG\r\n\x1a\n";
  4. $sig_p = "\x89P".$r;
  5. $sig_m = "\x8aM".$r;
  6.  
  7. # Check File
  8. @png = ();
  9. for ($i=0;$i<=$#number;$i++) {
  10. $file = $imgdir.$number[$i].'.png';
  11. $size = -s $file;
  12. open(IN, "< $file") || &Error(1);
  13. binmode(IN);
  14. read(IN, $sig, 8);
  15. if ($sig ne $sig_p) { close(IN); &Error(2); }
  16. read(IN, $png[$i], $size-8);
  17. close(IN);
  18. }
  19.  
  20. $it = ($#number+1) * $b_repeat;
  21. if ($r_repeat) {
  22. srand;
  23. $it += int(rand(($#number+1) * $r_repeat));
  24. }
  25. $ti = $it * ($#number+1) + 1;
  26.  
  27. $|=1;
  28. print "Content-type: $mime\n\n";
  29. binmode(STDOUT);
To copy to clipboard, switch view to plain text mode 

Can i this compose on QBuffer and at end save to file... ?