Browse our Products

Aspose.Imaging for Java 23.9 - Release notes

Competitive features:

  • Implement Remove watermark filter
KeySummaryCategory
IMAGINGJAVA-8545Implement Remove watermark filterFeature
IMAGINGJAVA-8534Exception on creating palette of large imageEnhancement
IMAGINGJAVA-8533Can’t load EPS imageEnhancement
IMAGINGJAVA-8522DICOM load issueEnhancement
IMAGINGJAVA-8516Required palette is missing exception loading BMPEnhancement
IMAGINGJAVA-8512The GIF file loading issueEnhancement

Public API changes:

Added APIs:

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

Removed APIs:

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

Usage Examples:

IMAGINGJAVA-8545 Implement Remove watermark filter

String imageFilePath = "ball.png";
String outputFilePath = "result.png";
try (Image image = Image.load(imageFilePath))
{
    PngImage pngImage = (PngImage)image;
    GraphicsPath mask = new GraphicsPath();
    Figure firstFigure = new Figure();
    firstFigure.addShape(new EllipseShape(new RectangleF(350, 170, 570 - 350, 400 - 170)));
    mask.addFigure(firstFigure);

    ContentAwareFillWatermarkOptions options = new ContentAwareFillWatermarkOptions(mask);
	options.setMaxPaintingAttempts(4);
    RasterImage result = WatermarkRemover.paintOver(pngImage, options);
    result.save(outputFilePath);
}

IMAGINGJAVA-8534 Exception on creating palette of large image

try (Image image = Image.load("large-tiff.TIFF"))
{
	int bpp = 8;
	// does not throws exception
	IColorPalette colorPalette = ColorPaletteHelper.getCloseImagePalette(image, 1 << bpp);
}

IMAGINGJAVA-8533 Can’t load EPS image

try (Image image = Image.load("ground.eps"))
{
	image.save("output.png");
}

IMAGINGJAVA-8522 DICOM load issue

try (Image image = Image.load("0008cc0a_niming.dcm"))
{
	image.save("0008cc0a_niming.jpg");
}

IMAGINGJAVA-8516 Required palette is missing exception loading BMP

try (Image image = Image.load("Texture.bmp"))
{
	image.save("output.png");
}

IMAGINGJAVA-8512 The GIF file loading issue

try (Image image = Image.load("input.gif"))
{
	image.save("output.png");
}