Code Monkey home page Code Monkey logo

Comments (7)

Agamnentzar avatar Agamnentzar commented on May 30, 2024

Those are layer "blending options", mainly dropShadow, innerShadow, outerGlow, innerGlow, bevel, solidFill. It seems I just didn't get to finishing writing for it. I can add it, just need to create some tests and finish the code.

from ag-psd.

colshacol avatar colshacol commented on May 30, 2024

Right on. I apologize, I've been away from Photoshop so long I forgot about the blending options.

I currently have solved this by just rasterizing all the layers styles in Photoshop. Now that I am past that, I have it saving the PSD file, but when I open it in Photoshop all of the text layers have be come static image layers. Know anything pertaining to this?

EDIT: Nevermind, #7 already covers this. :)

I appreciate this tool, friend! It is helping me progress on a project started a year ago.

from ag-psd.

Agamnentzar avatar Agamnentzar commented on May 30, 2024

The library should be able to read and write layer affects as of 9d3c5d1 (v7.0.0)

You have to keep in mind that the layers store the image data without blending options applied, so if you need to read layer image data with blending options applied you'd have to rasterize them in Photoshop anyway.

The text layers are still not supported by the library, sorry.

from ag-psd.

colshacol avatar colshacol commented on May 30, 2024

The library should be able to read and write layer affects as of 9d3c5d1 (v7.0.0)

You have to keep in mind that the layers store the image data without blending options applied, so if you need to read layer image data with blending options applied you'd have to rasterize them in Photoshop anyway.

The text layers are still not supported by the library, sorry.

Don't apologize for what you haven't provided, when you have provided more than you were ever required to. 👍 🙏

One more question, and I don't wanna trouble you with a new issue for it.

I can mutate the parsed PSD like...

// children[0] is a text layer
psd.children[0].text.text = 'yolo'

But when writing psd out to a .psd file, that change is not reflected. Any knowledge here?

from ag-psd.

Agamnentzar avatar Agamnentzar commented on May 30, 2024

Reading text layers is only very basic, and writing is not implemented at all. I'm still working on implementing writing text layer properties.

from ag-psd.

Agamnentzar avatar Agamnentzar commented on May 30, 2024

You can watch #7 for any progress

from ag-psd.

colshacol avatar colshacol commented on May 30, 2024

Ah, I see. I thought I should be able to change the text and still get the change reflected in the PSD, just it would be rasterized into image form rather than text. My mistake!

from ag-psd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.