Segfaulted ipl2jpg convertion