Open osdiab opened 1 year ago
@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...
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