Browse our Products
Aspose.PSD for Java 21.6 - Release Notes
This page contains release notes for Aspose.PSD for Java 21.6
Key | Summary | Category |
---|---|---|
PSDJAVA-351 | Сlipping mask for a group does not render correctly | Bug |
PSDJAVA-352 | Regular or vector mask for a layer group is ignored on rendering | Bug |
PSDJAVA-353 | PSD image with disabled vector layer masks on saving enables vector masks | Bug |
PSDJAVA-354 | Exception when creating a TextLayer with text longer than 255 characters | Bug |
Public API Changes
Added APIs:
- None
Removed APIs:
- None
Usage examples:
PSDJAVA-351. Сlipping mask for a group does not render correctly
String sourceFileName = "AppleClip.psd";
String outputFileName = "result.png";
PsdImage image = (PsdImage) Image.load(sourceFileName);
try
{
image.save(outputFileName, new PngOptions());
}finally {
image.dispose();
}
PSDJAVA-352. Regular or vector mask for a layer group is ignored on rendering
String sourceFileName = "Stripes3Mask.psd";
String outputFileName = "OutputStripes3Mask.png";
PsdImage image = (PsdImage)Image.load(sourceFileName);
try
{
image.save(outputFileName, new PngOptions());
}finally {
image.dispose();
}
PSDJAVA-353. PSD image with disabled vector layer masks on saving enables vector masks
String sourceFileName = "FourWithMasksVd.psd";
String outputFileName = "FourWithMasksVdOutput.psd";
PsdImage image = (PsdImage) Image.load(sourceFileName);
try
{
image.save(outputFileName);
}finally {
image.dispose();
}
PSDJAVA-354. Exception when creating a TextLayer with text longer than 255 characters
String output = "output.psd";
PsdImage image = new PsdImage(100, 100);
try
{
char[] chars = new char[256];
Arrays.fill(chars, '*');
String text = new String(chars);
image.addTextLayer(text, Rectangle.getEmpty());
image.save(output);
}finally {
image.dispose();
}