Giter Site home page Giter Site logo

charpyls's People

Contributors

ralic avatar who8mylunch avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

charpyls's Issues

Unit test attempts to import wrong version of data_io.py

While investigating a problem in issue #1, I noticed that the unit test is expecting to import an older version of the data_io.py module. That older version supported reading/writing from a large variety of file types, including the ENVI data types referenced in the unit test. The new version was brought in since the older could not be made open-source. The unit test code and data files need to be updated to work properly on other people's computers.

Example code exception

Environment: Centos 6 (64 bit) VM in VirtualBox 4.3.6 on Windows 7

Just installed CharLS and CharPyLS.
Copied the test/gray_raw.png to test/image.png

[root@dev01 jpeg_ls]# python2.7 example.py
Traceback (most recent call last):
File "example.py", line 15, in
data_buffer = jpeg_ls.encode(data_image)
File "/usr/local/lib/python2.7/site-packages/CharPyLS-1.0.0-py2.7-linux-x86_64.egg/jpeg_ls/CharLS.py", line 47, in encode
data_buffer = _CharLS.encode(data_image)
File "_CharLS.pyx", line 119, in _CharLS.encode (jpeg_ls/_CharLS.cpp:1721)
raise Exception('Invalid input data type %s' % data_image.dtype)
Exception: Invalid input data type object

Maintenance of CharPyLS?

First, I want to thank you for the work in this repo - we (at pydicom) very much appreciate it, and we have been using this it in pydicom for decoding JPEG-LS images for years (and would like to continue to do so).

I made a simple PR for Python 3.11 compatibility yesterday, and afterwards noted that there there hasn't been any activity in this repo for years, so under the assumption that the repo is not maintained anymore, I created a fork that has the PR integrated, and which we will use at least temporary.

If this repo is still maintained, and the PR(s) will be reviewed and eventually merged, we can remove that repo again. That would be the preferred option in my view.

Otherwise, there are a few options:

  • the maintainer invites collaborators who are able to handle maintance in the future
  • this repo is officially transferred to pydicom (in this case the other one will be removed), or another suitable organization, where more maintainers can be added
  • this repo is archived and points to our fork for further development, possibly giving us also the possibility to publish new PyPi versions (by adding more maintainers in PyPi)

Of these options, I personally would prefer the transfer to pydicom, as it would avoid having a fork.

Last, if we get no response here, we will proceed with our fork and add a PyPi package of our own with a new name.

Thank you!

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.