>>375

#include <stdlib.h>
int main()
{
system("mogrify -format pbm *.jpg");
return 0;
}


見てのとおり、.jpg だけ変換
.jpegは変換しない