fixed an issue with rar error throwing
Moved from ghost script to imagemagick.