Setting Properties on Images

Updating Fonts cache

Using Aspose.Imaging for Java, developers can add possibility to refresh fonts cache. Below is the code demonstration of the said functionality.

Setting replacement for missing fonts

Using Aspose.Imaging for Java, developers can replace missing fonts. Using below sample code developers will be able to set default font name when saving PSD documents as raster image (into PNG, JPG and BMP formats). This default font should be used as a replacement for all missing fonts means fonts that are not found in current Operating System. Below is the code demonstration of the said functionality.

Applying Smoothing Mode

Smoothing is often used to reduce noise within an image. VectorRasterizationOptions. setSmoothingMode is a property used for improving the quality of images. This article demonstrates how to apply VectorRasterizationOptions. setSmoothingMode property to images using Aspose.Imaging for Java.  

Below is the code demonstration of the said functionality.

Improve Text Quality

VectorRasterizationOptions. setTextRenderingHint is a property used for improving the quality of the text. This article demonstrates how to apply VectorRasterizationOptions. setTextRenderingHint property to images using Aspose.Imaging for Java.   

Below is the code demonstration of the said functionality.

Support of image scoped fonts

Aspose.Imaging Java API allows the custom font source providing to use the specific font(s) for image rendering. Unlike FontSettings.setFontsFolders method works in the image scope and allowing to provide the fonts in multi-user scenarios.

Below is the code demonstration of the said functionality.