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

Code needs update for newer OpenJPEG #1

Open
stweil opened this issue Oct 19, 2015 · 8 comments
Open

Code needs update for newer OpenJPEG #1

stweil opened this issue Oct 19, 2015 · 8 comments

Comments

@stweil
Copy link

stweil commented Oct 19, 2015

Hello,

are there any plans to merge the code for OpenJPEG into https://github.com/ruven/iipsrv? I have a fork
https://github.com/stweil/iipsrv/tree/openjpeg based on your code, but updated for latest OpenJPEG and iipsrv (API changes). That fork only works partially (some JP2 files are shown, others result in a crash).

Regards,
Stefan Weil

@zabak
Copy link
Member

zabak commented Oct 19, 2015

Hi Stefan, currently, nobody is working on this. Could you please send me some of the files that crash?

@stweil
Copy link
Author

stweil commented Oct 31, 2015

@zabak: They no longer crash. The code now works, based on your code, latest iipsrv and latest OpenJPEG plus my modifications. It is currently about 100 times slower than iipsrv with Kakadu. I think that a large part of that huge difference is not caused by OpenJPEG, but by different handling of the conversion from JPEG 2000 to JPEG. See ruven/iipsrv#14 for details.

How could we get your code with my modifications into iipsrv, so that there is a common base for further improvements?

@zabak
Copy link
Member

zabak commented Oct 31, 2015

@stweil: Ruven promised to do it after he releases v.1.0 which he plans to do in the next few weeks.

@stweil
Copy link
Author

stweil commented Mar 17, 2016

PR ruven/iipsrv#61 merges your code with my updates for latest iipsrv.

@stweil
Copy link
Author

stweil commented May 21, 2016

@zabak, the files src/OpenJPEG.cc and src/OpenJPEG.h don't include a copyright statement or a license. Do those files use GPL3 (the default license for iipsrv)? Should I add a copyright for your library to my pull request?

@zabak
Copy link
Member

zabak commented May 21, 2016

Yes please.

@stweil
Copy link
Author

stweil commented May 22, 2016

Then I'll add the text below to both files. Please confirm or tell me any modifications which you want.

Copyright (C) 2015 Moravian Library in Brno (http://www.mzk.cz/)

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

@zabak
Copy link
Member

zabak commented May 22, 2016

The text is OK.

stweil added a commit to stweil/iipsrv that referenced this issue May 28, 2016
See this discussion:
moravianlibrary/iipsrv-openjpeg#1

Signed-off-by: Stefan Weil <sw@weilnetz.de>
stweil added a commit to stweil/iipsrv that referenced this issue Jul 9, 2016
See this discussion:
moravianlibrary/iipsrv-openjpeg#1

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants