% .jpg quality: from 0 (bad) to 100 %
jpg_quality = 90;

fout = fopen('scr_anim','w');
fprintf ( fout, '%d\n', jpg_quality );

config_dir = './';
jpg_dir = 'Pic/';

jpg_number = 0;
for config_number = 512 : 512 : 406016,
  fprintf ( fout, '%ss.%d.bz2 %s%05d.jpg\n', ...
            config_dir, config_number, ...
            jpg_dir, jpg_number );
  jpg_number = jpg_number + 1;
end;

fprintf ( 1, '%d frames.\n', jpg_number );
