Tips For Success

Having the best tools for document imaging is only half of the equation. Our Tech Tips are designed to provide you with valuable information to help you succeed by achieving faster results with our RasterMaster Imaging and Conversion SDKs or VirtualViewer high-speed document and image viewers. New time-saving tips are added monthly - you can receive them through Imaging News or our Tech Tips RSS feed.

Get Started with VirtualViewer

Adjusting DPI When Converting a TIFF Image to a PDF

Snowbound Software’s RasterMasterTM for the JavaTM Platform includes the ability to adjust the DPI (dots per inch) when converting a TIFF image to a PDF to prevent the image from appearing squished.

For example, when converting an image from a TIFF that has a resolution of 204/98 pixels/inch, your image may appear distorted. The reason that the image does not appear as it should is that the horizontal DPI is not the same as the vertical DPI. The following code fixes this problem:

if (Simage.getXdpi() != Simage.getYdpi())
   

Simage.IMG_resize_bitmap(Simage.getWidth(),(Simage.getXdpi() * Simage.getHeight()) / Simage.getYdpi());

Learn More About TIFF to PDF Conversion

  • PDF to TIFF - Streamline workflow and standardize how images are viewed across your organization.

Learn More
In addition to our Tech Tips section, our document and image Solutions Section provides business application examples and industry-specific examples including image conversion and image compression.