Saving into psd file it taking too long

Hi,

I tried to make a simple PSD file with two layers, very simple.
and then using image.save(path) to save the file but saving process is taking over 4 seconds!

Is there any way to optimise save process?

Thanks

@MoeMollaei what is the sizes of image and layers? Processing of different layers takes different time, what layers did you add? Also, working with temporary license is slower for some reasons.

@MoeMollaei could you please provide the code you are trying to run, because there are can be a lof of factors that affects the performance

Image size is around 4mb and it needs to duplicate as it needs to set on two different masks.
each mask has around 200kb.

the output file is 144mb.

Please find it out with below link.

Looking forward to hearing from you.

Thanks

@MoeMollaei I can not open the specified GitHub Url, it looks like repository is private. Could you please attach the code to this ticket. Only moderators and administrators of forum will be able to download it.

I made repo as public, please check if it doesn’t work then I’ll attach it here

I created a task PSDNET-1363: Aspose.PSD works slow on processing of specific files.
After it will be investigated then the name of the issue will be changed. You can track status of this task by its ID PSDNET-1363.