fid=fopen("names.txt","r");
folder="jpg-/";
name=fgetl(fid);
while (name !=-1)
final=strcat(folder,name);
A = imread(final);
A = imresize(A,[115 144]);
imwrite(uint8(A), final);
name=fgetl(fid);
endwhile
fclose(fid);
