Check this guide to learn how to adjust PNG and JPG images size when rendering documents with Image Viewer by GroupDocs for Java....Total Product Family GroupDocs.Viewer Product Solution GroupDocs...Documentation / GroupDocs.Viewer Product Family / GroupDocs.Viewer for Java...