Convert PDF to Grayscale in Java Almost any document or image format (including images) can be converted to a black-and-white or grayscale monochrome image. In this article, we will discuss how to convert color PDF documents to grayscale JPG and PNG image formats in Java.