AFP Renderer: Bugfix for 1 bit images where the width is not a multiple of 8. Essentially, I rewrote convertToGrayScaleImage() to properly padding at the end of each scanline if necessary.