Hi support, We are trying out Aspose.PAD for java SDK, but we getting a a lot of issues for Layer effects and text layers.
System: Mac Ventura
SDK: Java SDK version 23.4
First, this is the code we use for all the issues, this is place in a button event:
PsdLoadOptions loadOption = new PsdLoadOptions();
loadOption.setAllowWarpRepaint(true);
loadOption.setLoadEffectsResource(true);
loadOption.setUseDiskForLoadEffectsResource(true);
PsdImage image = (PsdImage)com.aspose.psd.Image.load("test.psd", loadOption);
var pngOptions = new PngOptions();
image.save("test.png", pngOptions);
Issue 1(Critical): Loading some PSD file with Outglow effect file will failed with Exception:
Image loading failed. —> class com.aspose.psd.coreexceptions.imageformats.PsdImageException: Color section in the resource must contain 3 color components for RGB or 4 color components for CMYK
this is a sample file: Bug1.psd - Google Drive
Issue 2: PSD file has Layer out glow effect with purple color, but light yellow is rendered by SDK.
See Bug 2 in this sample PSD file: Bugs.psd - Google Drive
Expect result: Expected Result.png - Google Drive
Actual result: Actual Result.png - Google Drive
Issue 3, 4 and 5(Critical): Text are all over the place after SDK rendering. I have box setup in sample PSD to test if the Text in render at the right position, but None of text rendering in stay in the box.
Issue 3 use custom font that installed in the system.
Issue 4 use System font “Arial”
Issue 4 use “Adobe font”.
None of them rendered in right place.
And with Issue 4, font style is not rendered at all, it’s replaced by a default font. How can we render Adobe font?
Sample file: Bugs.psd - Google Drive
Expect result: Expected Result.png - Google Drive
Actual result: Actual Result.png - Google Drive
Issue 6(Critical): Seems like there is a cache function in the SDK. When I run the above code, then go back to photoshop, edit the PSD file, then without exit the hosting app(Above code is place in a button event), run the above code again, the changes I made are not going to the output image, output still the same. How can I force it to reload PSD everytime, so it can take in all the new changes?
Thanks you