Skip to content

Rerendering the text layer “My Test Text” will cause its layout to change. The existing pixel data is used instead. #262

@aamirsdev

Description

@aamirsdev

I am creating a PSD file programmatically using JSON data. The issue I’m facing is related to Text Layer creation.

When I generate the text layer through my code, the layer appears correctly inside the PSD. However, when I open the PSD in Photoshop and try to edit or transform the text layer, Photoshop shows a popup warning/error message for every text layer.

I am not sure what is causing this issue. Below is the code I am using to create the text layer and set its properties.

Can you please help me understand why this warning is appearing and what I should change to fix it?

I am attaching a sample script and PSD file generated through the same code. I have set all those attributes which I am using in my actual functionality.

Thanks again. Much appreciate your efforts

sample.js

PSD file.zip

Error Screenshot :

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions