Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[psd] Improve handling of Adjustment Layers without raster data #861

Open
davidetan opened this issue Dec 20, 2024 · 0 comments
Open

[psd] Improve handling of Adjustment Layers without raster data #861

davidetan opened this issue Dec 20, 2024 · 0 comments
Assignees

Comments

@davidetan
Copy link
Collaborator

The PSD import feature currently generates images bosed on layer raster data. Adjustment layers may or may not include raster data, depending on the software used to generate the PSD.

  • Photoshop typically stores raster data for adjustment layers such as Fill or Gradient layers.
  • Photopea, on the other hand, omits this data to reduce file size (see Photopea issue #5558).

At present, adjustment layers without raster data are ignored during import. This behavior might be unexpected for users, who should be informed of what occurred.

Goal

When importing a PSD file, if any adjustment layers are ignored due to missing raster data, display a dialog warning the user and listing the ignored layers.

Bonus

It would be ideal to support the import of Fill and Gradient layers even if they lack raster data:

  • Fill Layers: These should be relatively easy to support.
  • Gradient Layers: This might be more challenging, as Photoshop's gradient formulas are not publicly documented.
@davidetan davidetan self-assigned this Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant