Comments (11)
👍 for this request
from jpeglosslessdecoderjs.
The license is LGPL, not GPL. I am not the original author (see Acknowledgements). I made significant modifications, but that isn't enough to change the license, as far as I know.
But my understanding is that a LGPL library is compatible with a MIT project. The main restriction is that the MIT project must be designed to "work with" the library without it being simply merged into the project. With JavaScript, what exactly LGPL means is a little fuzzy, since there's no way to compile a stand-alone library and no concept of "linking" to it.
My take has been to configure it as a dependency: see Daikon which is BSD (similar to MIT) license. Its GitHub project doesn't contain the JPEGLosselessDecoderJS code, rather it's a dependency and NPM installs it.
I would be happy to re-license it as MIT, if I could -- but my understanding is that I can't. My preference is BSD/MIT whenever possible.
from jpeglosslessdecoderjs.
Understood - this will unfortunately limit how much use this library gets as many commercial companies prohibit use of GPL and LGPL software in their products. I think the best strategy for cornerstone is to make it so use of this library is optional so it can be excluded by those that can't use LGPL or don't need it. One thing that would help is to publish this library via bower - would that be possible? I am thinking of switching everything over to NPM in the future, but right now bower is what is being used.
from jpeglosslessdecoderjs.
I've sent the original author an email asking if he'd be willing to allow a license change. Either way, I'll look into adding Bower support...
from jpeglosslessdecoderjs.
OK great - would you like me to submit a PR with instructions for bower?
from jpeglosslessdecoderjs.
Yes, that would be great.
from jpeglosslessdecoderjs.
The original author approved the change in license from LGPL to MIT. I'll make this change as well as the other requests sometime this week...
from jpeglosslessdecoderjs.
Great news! Thank you for looking into this!
from jpeglosslessdecoderjs.
Just submitted a PR with bower support. If you don't want to mess with bower, I can just bundle it in with cornerstone since you are going to support MIT. Let me know
from jpeglosslessdecoderjs.
That's a really great news! Thank you too
from jpeglosslessdecoderjs.
License has been changed.
from jpeglosslessdecoderjs.
Related Issues (15)
- 'Not a JPEG file' thrown for .57 image HOT 3
- Support RGB data HOT 2
- Unable to parse the attached JPEG Lossless file correctly HOT 3
- NPM package HOT 2
- Dicom Image decode jpeg lossless decoder HOT 1
- Problem showing image properly HOT 3
- Workaround for invalid JPEG encoding
- uncorrect decode HOT 1
- npm test fails HOT 3
- performance
- JPEG lossless parsing failed
- Strange decoding behavior ? HOT 1
- Global 'jpeg' variable lost in latest NPM build. HOT 10
- Version 2.1.0 is broken version 2.0.7 works HOT 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jpeglosslessdecoderjs.