Does the psd-java plugin have this function?

image.png (114.0 KB)

I really need this feature。This feature is called Save for Web

@youxin

Could you please provide more details about the specific functionality you are looking for in the Save for Web feature?

@youxin could 请说明一下您需要“保存为 Web(旧版)”功能的具体功能是什么?

您可以使用标准的 Aspose.PSD for Java API 保存 png、jpeg 和 gif 文件。

    // load PSD image and save as PNG
    try (Image image = Image.load(sourceFile, loadOptions);
         PsdImage psdImage = (PsdImage) image) {

        PngOptions Options = new PngOptions();
        Options.setColorType(PngColorType.TruecolorWithAlpha);
        psdImage.save(destName, Options);
    }

我的psd文件是使用“分片“功能制作的,我需要把图片使用”保存为Web(旧版)“功能保存为每一张图片,就像我提供的图片上那样。
image.jpg (151.8 KB)
image.jpg (175.6 KB)

hello I have replied to you, hope to get your reply thanks

@youxin could you please provide the input psd file for testing. We need to investigate how it’s work.