SAPC-APCA icon indicating copy to clipboard operation
SAPC-APCA copied to clipboard

Feature Request: an export to apca-w3 that doesn't require colorparsley

Open osdiab opened this issue 1 year ago • 1 comments

Is this about a tool (you're an end user) or about a code library (you're a developer)?

Yes. I already have RGBA arrays for my colors, so I don't need colorparsley in the APCA algorithm, but the library forces me to bundle it in. Would love an alternative calcAPCAFromRGBA that does the same thing but doesn't call colorparsley, so that I can avoid bundling the library when I wouldn't actually use it.

Does this relate to a problem with using a tool or implementing code? Or is this something that would help expand use and application?. it would just reduce bundle size by a few kb.

How do you think it would be best implemented? super easily, i can shoot out a PR.

Have you considered other alternatives? I was thinking about packaging my own version of apca-w3 that has all the goodies I'd like (written in typescript, a somewhat simpler API, convenience helpers) but the license on this repo is confusing to a mere web developer like myself so I'm not sure what's OK and what isn't.

Additional context

osdiab avatar Nov 23 '22 06:11 osdiab

Where we could use help:

@alexkrolick had started a pull request to get things working with Roll-up to create various builds. Unfortunately this was prior to a large number of changes. Alex is presently too busy to work on this, but it would be great to get this functioning properly.

We are getting ready to push a couple things before xmas if possible, and as we do that we'll try to get Roll-up setup...

Myndex avatar Aug 10 '23 11:08 Myndex