Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
osdiab opened this issue Nov 23, 2022 · 1 comment · May be fixed by Myndex/apca-w3#9
Open

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

osdiab opened this issue Nov 23, 2022 · 1 comment · May be fixed by Myndex/apca-w3#9
Labels
Code integration Issues relating with either porting code to another language or integrating the code with existing l enhancement New feature or request npm package specific to the published js packages

Comments

@osdiab
Copy link

osdiab commented Nov 23, 2022

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 osdiab added enhancement New feature or request Tool Features Relating to the web tools labels Nov 23, 2022
@osdiab osdiab linked a pull request Nov 23, 2022 that will close this issue
@Myndex Myndex added npm package specific to the published js packages Code integration Issues relating with either porting code to another language or integrating the code with existing l and removed Tool Features Relating to the web tools labels Jan 11, 2023
@Myndex
Copy link
Owner

Myndex commented Aug 10, 2023

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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code integration Issues relating with either porting code to another language or integrating the code with existing l enhancement New feature or request npm package specific to the published js packages
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants