If you modify the textLayer and save the psd file, an error occurs.
The error is this:
class com.aspose.psd.internal.Exceptions.ArgumentException: The rectangle has no common processing area. Cannot proceed.
com.aspose.psd.Image.getFittingRectangle(Unknown Source)
com.aspose.psd.Image.getFitRectangle(Unknown Source)
Even if you adjust the layer’s width and height values to 0 or more, the error continues to occur.
I received feedback late. I analyzed the bug described above. I found that an error occurs if a PSD file has a specified layer that is empty. After deleting the empty layer and running the code again, I confirmed it works normally. Is it possible to fix this bug?
@sewang thank you. I’ve added file to the issue ticket. If you had the code the went to the error please post it. In any case, Aspose.PSD will try to reproduct the issue according to you info.
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.
Issue ID(s): PSDNET-1953
You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
Enables storage, such as cookies, related to analytics.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.