Browse our Products

Aspose.Imaging for JAVA 26.11 - Release notes

Competitive features:

  • Implement 3D LUT (.cube) Support
KeySummaryCategory
IMAGINGJAVA-9334Implement 3D LUT (.cube) SupportFeature
IMAGINGJAVA-9332Fix alpha monochrome exportEnhancement
IMAGINGJAVA-9331Fix excessive grain effect on AVIF images exportEnhancement
IMAGINGJAVA-9329Fix Jpeg Icc profile processing issuesEnhancement
IMAGINGJAVA-9321Fix palette-cache overflow and palette state handling in AVIF decodingEnhancement
IMAGINGJAVA-9319Incorrect TGA format detectionEnhancement
IMAGINGJAVA-9318Enhance APNG & GIF image processing, optimize memory and performance, improve animation export quality when handling transparency, consolidate animated image property namesEnhancement

Public API changes:

Added APIs:

Please see corresponding cumulative API changes for Aspose.Imaging for .NET 26.11 version

Removed APIs:

Please see corresponding cumulative API changes for Aspose.Imaging for .NET 26.11 version

Usage Examples:

IMAGINGJAVA-9334 Implement 3D LUT (.cube) Support

Rectangle rectangle = new Rectangle(0, 0, 720, 960);

try (RasterImage image = (RasterImage)Image.load("multipage.tiff"))
{
    image.applyCubeLut("bleach-bypass.cube", rectangle);
    image.save("result-rectangle-1.tiff");
}

Rectangle rectangle = new Rectangle(0, 0, 720, 960);
CubeLut cubeLut = com.aspose.imaging.lut.cubelut.CubeLut.load("bleach-bypass.cube");

try (RasterImage image =(RasterImage)Image.load("multipage.tiff"))
{
    image.applyCubeLut(cubeLut, rectangle);
    image.save("result-rectangle-2.tiff");
}



{

IMAGINGJAVA-9332 Fix alpha monochrome export

The exported image should have correct transparency.
try (AvifImage image = (AvifImage)Image.load(inputPath))
{
    image.save(outputPath, new PngOptions() {{ setColorType(PngColorType.TruecolorWithAlpha); }});
}

{

IMAGINGJAVA-9331 Fix excessive grain effect on AVIF images export

The exported image should have no significant grain defects.

try (AvifImage image = (AvifImage)Image.load(inputPath))
{
    image.save(outputPath);
}

{

IMAGINGJAVA-9329 Fix Jpeg Icc profile processing issues

Process JPEG with embedded RGB ICC profile:
public static void save(String inputFile, String outputFile)
{
	boolean imageHasRgbIccProfile;
	try (Image image = Image.load(inputFile))
	{
		imageHasRgbIccProfile = image instanceof JpegImage && ((JpegImage)image).getRgbColorProfile() != null;
		image.save(outputFile);
	}

	boolean outputImageHasRgbIccProfile;
	try (Image image = Image.load(outputFile))
	{
		outputImageHasRgbIccProfile = image instanceof JpegImage && ((JpegImage)image).getRgbColorProfile() != null;
	}

	if (imageHasRgbIccProfile != outputImageHasRgbIccProfile)
	{
		throw new AssertionError();
	}
}

{

IMAGINGJAVA-9321 Fix palette-cache overflow and palette state handling in AVIF decoding

Fixed an AVIF palette decoding issue that prevented affected images from being exported to PNG and JPEG.
try (AvifImage image = (AvifImage)Image.load(inputPath))
{
    image.save(jpegPath, new JpegOptions());
    image.save(pngPath, new PngOptions());
}

{

IMAGINGJAVA-9319 Incorrect TGA format detection

long fileFormat = Image.getFileFormat("plrabn12.txt");
assert FileFormat.Unknown == fileFormat;

{

IMAGINGJAVA-9318 Enhance APNG & GIF image processing, optimize memory and performance, improve animation export quality when handling transparency, consolidate animated image property names

public static void convertToGif(String inputFile, String outputFile)
{
    try (Image image = Image.load(inputFile))
    {
        image.save(outputFile, new GifOptions()
        {{
            setLoopCount(0);
        }});
    }
}

{