%% Convert png to ppm

close all
clc
clear all
num_images=31;

for i=0:num_images
   img=imread(['firei_0_' num2str(i) '.png']);
   imwrite(img,['img_' num2str(i) '.ppm'])
end