Giter VIP home page Giter VIP logo

joanroig / swatches-to-ase Goto Github PK

View Code? Open in Web Editor NEW
31.0 2.0 4.0 167 KB

Convert Procreate Swatches files to ASE format (Adobe Swatch Exchange). Can be used for importing Procreate palettes into Photoshop or other programs like Illustrator or Affinity Designer.

License: MIT License

Shell 7.37% TypeScript 92.63%
adobe procreate illustrator swatches palette colors ase affinity designer photoshop

swatches-to-ase's Introduction

Swatches to ASE

Convert Procreate Swatches files to ASE format (Adobe Swatch Exchange).

Can be used for importing Procreate palettes into Photoshop or other compatible programs like Illustrator or Affinity Designer.

Example

Go to the examples folder to see some converted palettes like this one:

source palette
Source palette

converted palette
Converted palette imported in Photoshop

How to use

Be sure to have Node.js installed, then:

  • Download or clone the repo.
  • Run npm install in the root folder to install dependencies.
  • Add your swatches files in the palette-import folder.
  • Run npm run convert to convert the palettes.
  • The converted files should be in the palette-export folder.

Configuration

The input, output, color naming and addition of black & white colors can be changed in: config.json

Configuration parameters

  • inFolder: folder used to read the swatches.
  • outFolder: folder used to output the resulting ase files.
  • colorNameFormat: sets the collection of color names to be used. Available namings are: roygbiv, basic, html, x11, pantone, ntc. See color namer for reference.
  • addBlackWhite: if true, two extra colors will be added:

converted palette
Converted palette with extra black and white colors imported in Photoshop

Credits

Source of the provided palettes:

https://bardotbrush.com/procreate-color-palettes/

Libraries used

swatches-to-ase's People

Contributors

joanroig avatar renovate-bot avatar renovate[bot] 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

Watchers

 avatar  avatar

swatches-to-ase's Issues

Not working conversion

I have run the conversion but there is no output ๐Ÿ‘
File skipped: .gitkeep
Converting: ANNUNCIATION_LEONARDO_DA_VINCI_.swatches
Converting: LADY_WITH_AN_ERMINE_LEONARDO_DA_VINCI_.swatches
Converting: MADONNA_OF_THE_CARNATION_LEONARDO_DA_VINCI.swatches
Converting: PORTRAIT_OF_THE_GINEVRA_DE_BENCI_LEONARDO_DA_VINCI_.swatches
Converting: SAINT_JEROME_IN_THE_WILDERNESS_LEONARDO_DA_VINCI_.swatches
Converting: ST_JOHN_THE_BAPTIST_LEONARDO_DA_VINCI.swatches
Converting: THE_LAST_SUPPER_LEONARDO_DA_VINCI.swatches
Converting: THE_MONA_LISA_BY_LEONARDO_DA_VINCI.swatches
Converting: THE_VIRGIN_AND_CHILD_WITH_ST_ANNE_LEONARDO_DA_VINCI_.swatches
Converting: VIRGIN_OF_THE_ROCKS_LEONARDO_DA_VINCI.swatches
All done!
l:\Download\swatches-to-ase-main\swatches-to-ase-main\src\index.ts:59
const name = ColorHelper.findClosestColor(hex).name;
^

TypeError: ColorHelper.findClosestColor is not a function
at null. (l:\Download\swatches-to-ase-main\swatches-to-ase-main\src\index.ts:59:36)
at runNextTicks (node:internal/process/task_queues:61:5)
at processImmediate (node:internal/timers:437:9)

Vague Instruction

The install instructions are vague and require a good amount of precious knowledge some Photoshop users do not have: are more detailed instructions possible?

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Rate-Limited

These updates are currently rate-limited. Click on a checkbox below to force their creation now.

  • chore(deps): update dependency @types/node to v20
  • chore(deps): update dependency tsx to v4
  • fix(deps): update dependency eslint to v9
  • fix(deps): update dependency husky to v9
  • fix(deps): update dependency lint-staged to v15
  • fix(deps): update dependency rimraf to v6
  • ๐Ÿ” Create all rate-limited PRs at once ๐Ÿ”

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

npm
package.json
  • ase-utils ^0.1.1
  • color-convert ^2.0.1
  • color-namer ^1.4.0
  • eslint ^8.39.0
  • husky ^8.0.3
  • lint-staged ^13.2.2
  • nodemon ^2.0.22
  • procreate-swatches ^0.1.1
  • rimraf ^5.0.0
  • typescript ^5.0.4
  • @types/color-convert ^2.0.0
  • @types/node ^18.16.1
  • @typescript-eslint/eslint-plugin ^5.59.1
  • @typescript-eslint/parser ^5.59.1
  • tsx ^3.12.6

  • Check this box to trigger a request for Renovate to run again on this repository

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.