Browse our Products

Aspose.Imaging for Java 23.4 - Release notes

Competitive features:

  • Support of image raw data rendering from EPS
KeySummaryCategory
IMAGINGJAVA-8404Support of image raw data rendering from EPSFeature
IMAGINGJAVA-8420The EMF image on export to PNG has bottom-right shifted contentEnhancement
IMAGINGJAVA-8419NullReferenceException during an operation of conversion from tiff to pdf in the multithread mode.Enhancement
IMAGINGJAVA-8411Can’t convert EPS to PNGEnhancement
IMAGINGJAVA-8409Cannot convert the EPS image to EMFEnhancement
IMAGINGJAVA-8408Cannot load EPS imageEnhancement
IMAGINGJAVA-8401Can’t convert CMX to JPGEnhancement
IMAGINGJAVA-8397Issue with PNG images converted from EPSEnhancement
IMAGINGJAVA-8396Cannot access a disposed object after conversion of ICO imageEnhancement
IMAGINGJAVA-8389DICOM loading issue under ARM64 modeEnhancement
IMAGINGJAVA-8388WMF loading issueEnhancement
IMAGINGJAVA-8332Incorrect text offsets in Emf formulas rasterizationEnhancement
IMAGINGJAVA-8315Cdr to png misses linesEnhancement

Public API changes:

Added APIs:

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

Removed APIs:

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

Usage Examples:

IMAGINGJAVA-8420 The EMF image on export to PNG has bottom-right shifted content

try (Image image = Image.load("err-offset.emf"))
{
	image.save("err-offset.emf.png", new PngOptions());
}

IMAGINGJAVA-8419 NullReferenceException during an operation of conversion from tiff to pdf in the multithread mode.

final ExecutorService executorService = Executors.newFixedThreadPool(10);
final String baseDir = "C:\\some-dir-with-tiffs\\";
final String[] tiffs = new File(baseDir)
		.list((dir, name) -> name.endsWith("tiff") | name.endsWith("tif"));

if (tiffs == null)
{
	System.err.println("No files have been found!");
	return;
}

for (String file : tiffs)
{
	executorService.execute(new TiffExporter(baseDir + file));
}

while (executorService.awaitTermination(1, TimeUnit.SECONDS))
{
	Thread.yield();
}
executorService.shutdown();

IMAGINGJAVA-8411 Can’t convert EPS to PNG

try (Image image = Image.load("input.eps"))
{
    image.save("output.png", new PngOptions() {{
		setColorType(PngColorType.TruecolorWithAlpha);
		setProgressive(true);
		}});
}

IMAGINGJAVA-8409 Cannot convert the EPS image to EMF

try (Image image = Image.load("input.eps"))
{
    image.save("output.emf", new EmfOptions());
}

IMAGINGJAVA-8408 Cannot load EPS image

try (Image image = Image.load("input.eps"))
{
    image.save("output.psd");
}

IMAGINGJAVA-8404 Support of image raw data rendering from EPS

EpsLoadOptions options = new EpsLoadOptions();
options.setPreviewExportFormat(EpsPreviewFormat.PostScriptRendering);
try (Image image = Image.load("input.eps", options))
{
    image.save("output.png");
}

IMAGINGJAVA-8401 Can’t convert CMX to JPG

try (Image img = Image.load("image.CMX"))
{
    img.save("result.jpg");
}

IMAGINGJAVA-8397 Issue with PNG images converted from EPS

EpsLoadOptions options = new EpsLoadOptions();
options.setPreviewExportFormat(EpsPreviewFormat.PostScriptRendering);
try (Image image = Image.load("input.eps", options))
{
    image.save("output.png");
}

IMAGINGJAVA-8396 Cannot access a disposed object after conversion of ICO image

try (Image image = Image.load("multipage.ico"))
{
    image.save("multipage.png");
}

IMAGINGJAVA-8389 DICOM loading issue under ARM64 mode

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

IMAGINGJAVA-8388 WMF loading issue

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

IMAGINGJAVA-8332 Incorrect text offsets in Emf formulas rasterization

try(EmfImage image = (EmfImage)Image.load(file))
{
   image.save(file + ".png", new PngOptions()
   {{
		setVectorRasterizationOptions(
						new EmfRasterizationOptions() {{
							setPageSize(Size.to_SizeF(image.getSize()));
						}});
   }});
}

IMAGINGJAVA-8315 Cdr to png misses lines

try (Image image = Image.load("test-6.cdr"))
 {
     image.save("result.png");
 }