Fixed blackened imagemagick output