who8mylunch / charpyls Goto Github PK
View Code? Open in Web Editor NEWJPEG-LS for Python via CharLS C++ Library
License: Other
JPEG-LS for Python via CharLS C++ Library
License: Other
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.
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
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:
pydicom
(in this case the other one will be removed), or another suitable organization, where more maintainers can be addedOf 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!
Hi!
Is possible to install CharPyLS on M1 MacBook?
Cheers!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.