Code Monkey home page Code Monkey logo

artal's People

Contributors

evinedev avatar s-ol avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

artal's Issues

New API planning

I think it would make sense to split the API in a few components, like so:

  • 'raw' loader - loads PSD file into a rather flat table structure, loads images as ImageData.
    this shouldn't do 'semantic parsing' - e.g. combining / renaming open-close/group layers etc. but stay true to the PSD format for the most part. It should also be safe to run in a thread (= no love.graphics access) and configurable to skip loading imagedatas, or load only the composed info.
  • parser - takes the 'raw' output and reorganizes it into a tree that resembles the layer structure in a modern photoshop version - with group nodes and rasterized layers as leaves. Turns the ImageDatas into Images. The tree logic would resemble this code.
  • renderer code - provides ways to render layers, layer groups and whole files correctly. I have a complete collection of photoshop blendmode shaders here, but not all of them have been tested. The renderer code would resemble this code.

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.