PDF has become a universal format to share documents over the internet. Therefore, various other file formats are converted to PDF before they are exchanged. One of the popular conversions is image to PDF that may include PNG to PDF, JPEG to PDF, BMP to PDF, etc. Therefore, this article covers how to convert images to PDF using Java.