Printing Images Quickly and Efficiently to a A4 Page [VB.NET]

This tip shows you a quick technique for printing images, when the image is being printed with utilization of the biggest area available of the A4 page. This code supports almost any image, even special cases such as panoramas. These are the operations the code does: Gets the aspect ratio of the original image (width/height). If the image width is larger than the image height, the app rotates it. Converts the original image to an image optimized for A4 paper size. It does not stretch the image, and keeps the original aspect ratio, by changing the image width to A4 …

Continue reading Printing Images Quickly and Efficiently to a A4 Page [VB.NET]