eaintphyo / ebookdroid

Automatically exported from code.google.com/p/ebookdroid
0 stars 0 forks source link

Support for PJG files #951

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Are you planning to support any of the lossless compression containers for JPEG 
files, such as PJG, or the special compression for JPEG that the newest 
versions of StuffIt and Winzip compressors allow?

Thank you for your efforts! Your viewer is, by far, the best of all programmed 
for Android devices =)

Original issue reported on code.google.com by lem.no...@gmail.com on 16 Jun 2015 at 12:43

GoogleCodeExporter commented 8 years ago
Can you provide examples of files?

Original comment by Andrei.K...@gmail.com on 16 Jun 2015 at 4:30

GoogleCodeExporter commented 8 years ago
If author of packJPG permit to use it in our app, we will add support for pjg 
files.

Original comment by Andrei.K...@gmail.com on 16 Jun 2015 at 5:04

GoogleCodeExporter commented 8 years ago
The code for his lossles compression archiver for JPG files is open source. 
This is what the packJPG license Readme says:

"LGPL v3 license and special permissions

All programs in this package are free software; you can redistribute them and/or modify them under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.

The package 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 Lesser General Public License for more details at http://www.gnu.org/copyleft/lgpl.html.

If the LGPL v3 license is not compatible with your software project you might contact us and ask for a special permission to use the packJPG library under different conditions. In any case, usage of the packJPG algorithm under the LGPL v3 or above is highly advised and special permissions will only be given where necessary on a case by case basis. This offer is aimed mainly at closed source freeware developers seeking to add PJG support to their software projects.

Copyright 2006...2014 by HTW Aalen University and Matthias Stirner."

However, I'll send him an em@il asking for permission and advice. He has programmed also a archiver specialized in compression of media files: it is called packARC, and it stores inside its "guts" JPG files as PJG.

Thank you for your response, I'll tell you his point of view about this when I receive his answer.

For further information, these are the sites where he announce his investigations:

http://packjpg.encode.ru/?page_id=17 http://packjpg.encode.ru/?page_id=21 http://www.matthiasstirner.com/ http://www.elektronik.htw-aalen.de/packjpg/


Original comment by `lem.no...@gmail.com` on 17 Jun 2015 at 8:26
GoogleCodeExporter commented 8 years ago
Ok, the author told me you already got in touch with him, and he accepted. 
That's great!

Thank you to all of you for your efforts!

Original comment by lem.no...@gmail.com on 17 Jun 2015 at 10:15

GoogleCodeExporter commented 8 years ago
Yes, we already discussed all license questions. Now question to you: where do 
you want us to add PJG support. I can imagine only support of PJG inside cbz 
and cbr files. Am I right?

Also just for your information: LGPL has major issues with Android apps because 
user can not easily replace LGPL'ed pieces of code due to apk signature.

Original comment by Andrei.K...@gmail.com on 17 Jun 2015 at 12:27

GoogleCodeExporter commented 8 years ago
Yes, that was my idea: be able to open PJG files stored inside other archivers 
(like zip/cbz/cbr/et cetera). And that's why I mentioned packARC and PJA files, 
but as the author commented me, there is no current "official" comic extension 
for such files, so I think just open those files inside .zip/.cbz/etc should be 
enough.

Original comment by lem.no...@gmail.com on 17 Jun 2015 at 12:42

GoogleCodeExporter commented 8 years ago
And about the license troubles, I admit that GNU Lesser General Public License 
is not very usual in Android environment, and can cause some problems when code 
from such licenses is included within a close source app, like yours. But 
unfortunately, I am not aware of all those details and its possible solutions.

Original comment by lem.no...@gmail.com on 17 Jun 2015 at 12:56

GoogleCodeExporter commented 8 years ago
Good morning,

I've just seen that you have give support to the lossless compressed JPEG 
files, AKA PJG. Thank you very much for taking it into account!

However, I've tried to open a .CBZ with PJG files, and the program couldn't 
open it. It just show the message "Loading file..." and just goes black, 
nothing happens. Do I have to add a library to EBookDroid installaton folder by 
myself?

I can provide you with an example and screenshots, if you need it.

Original comment by lem.no...@gmail.com on 11 Jul 2015 at 9:04