Pokud chceš něco automatizovat, pak toto je zcela ultimátní nástroj:http://www.imagemagick.org/script/index.php