This technical tip shows how to convert Memory Stream Image to PDF using Aspose.Pdf for Java. Image class in Aspose.Pdf offers the capability to convert an image from various sources into PDF format. This may include an image from particular location over the hard-drive, an image from MemoryStream or image placed over some web location. ImageInfo class has a method named setMemoryData() which is used specify MemoryStream as image source.
throw new IOException("Could not completely read file " + file.getName());
Overview: Aspose.Pdf for Java