Giter VIP home page Giter VIP logo

pat-parser's Introduction

Should I use this in production?

Not yet. There is still work in progress. I will probably change and break some things. Make your own copy if you want to.

PAT Parser

This is parser of Photoshop .pat files. These files contains pattern images. This tool will help you to extract metadata about patterns and also patterns itself as PNG files.

This tools is not able to create .pat file.

It use modern Node.js, TypeScript, and ts-node-dev for development. For test driven developement I used wallaby and tests are written for TS-Jest. So if you have no license for Wallaby just use TS-Jest.

Right now it has no UI or command line interface. If you want to use this you need to include typescript files into your project or generate javascript files and then include them in your project if you project is not using TS.

I do prefer readability and understanding of inner .pat file strucure over high performance code in this project. But it still should be very fast.

Supported input pattern items for file export

  • Color modes: RGB, Indexed colors, Grayscale
  • Compression: Packbits, None
  • Pixel depth: 8 bits/channel
  • Transparency: yes

Unsupported input pattern items for file export

  • Color modes: CMYK, Lab
  • Pixel depth: 16, 32 bits/channel
  • pattern organizing hiearchy

License

MIT.

pat-parser's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

pat-parser's Issues

I am new to node. How do I run this?

I ran npm install to install the dependencies. This was successful.

package.json has "main": "index.js", but there is no index.js in the repo.

I also tried installing typescript, and then ran tsc save.ts in the src directory. This generated .js files (main.js and save.js)

I can't seem to run them though.

Sorry for such a noob question, I am just confused. How can I get this working?

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.