DjvuNet
DjvuNet copied to clipboard
some files give error.
Error when using the sample code with some djvu files.
The buildpagelist() fails...example file at following location..
http://www.djvu.com.pl/zgg/Czapa_nurnika/Czapa_nurnika_ms-p0s0t50_.djvu
So I have isolated the case and the issue is with all single page djvu files.
When the input file has only 1 page, it throws an exception. Any idea how to solve it?
I will look into it and have a solution shortly. On Jun 8, 2014 1:22 PM, "prasadgurla" [email protected] wrote:
So I have isolated the case and the issue is with all single page djvu files.
When the input file has only 1 page, it throws an exception. Any idea how to solve it?
— Reply to this email directly or view it on GitHub https://github.com/Telavian/DjvuNet/issues/1#issuecomment-45447380.
Thanks a lot. And by the way, I have tested the application with a lot of djvu files and works seamlessly.
Thanks again. You are Gem.
What is the speed of the files you tested? Acceptable? On Jun 8, 2014 1:33 PM, "prasadgurla" [email protected] wrote:
Thanks a lot. And by the way, I have tested the application with a lot of djvu files and works seamlessly.
Thanks again. You are Gem.
— Reply to this email directly or view it on GitHub https://github.com/Telavian/DjvuNet/issues/1#issuecomment-45447685.
speed is quite OK. Sometimes I get black images.
I tried a 64 page djvu file just now..and hmm...takes about ~3 seconds for 1 page..so >3 minutes for the full file. Still acceptable but..is there a way to solve this? maybe run multiple threads?
Multi threading it does help, but takes up memory. On Jun 8, 2014 2:08 PM, "prasadgurla" [email protected] wrote:
I tried a 64 page djvu file just now..and hmm...takes about ~3 seconds for 1 page..so >3 minutes for the full file. Still acceptable but..is there a way to solve this? maybe run multiple threads?
— Reply to this email directly or view it on GitHub https://github.com/Telavian/DjvuNet/issues/1#issuecomment-45448644.
did u get any chance to look at the single page issue?
Thanks in advance,
On Mon, Jun 9, 2014 at 12:57 AM, Telavian [email protected] wrote:
Multi threading it does help, but takes up memory. On Jun 8, 2014 2:08 PM, "prasadgurla" [email protected] wrote:
I tried a 64 page djvu file just now..and hmm...takes about ~3 seconds for 1 page..so >3 minutes for the full file. Still acceptable but..is there a way to solve this? maybe run multiple threads?
— Reply to this email directly or view it on GitHub https://github.com/Telavian/DjvuNet/issues/1#issuecomment-45448644.
— Reply to this email directly or view it on GitHub https://github.com/Telavian/DjvuNet/issues/1#issuecomment-45451122.
kalpanaprasad Serskamp Belgium
Sorry. I said I would get to it already. I will look at it in a bit. I am sure that it is a simple error.
Out of curiosity, what are you going to be using the library for?
On Wed, Jun 11, 2014 at 2:06 PM, prasadgurla [email protected] wrote:
did u get any chance to look at the single page issue?
Thanks in advance,
On Mon, Jun 9, 2014 at 12:57 AM, Telavian [email protected] wrote:
Multi threading it does help, but takes up memory. On Jun 8, 2014 2:08 PM, "prasadgurla" [email protected] wrote:
I tried a 64 page djvu file just now..and hmm...takes about ~3 seconds for 1 page..so >3 minutes for the full file. Still acceptable but..is there a way to solve this? maybe run multiple threads?
— Reply to this email directly or view it on GitHub https://github.com/Telavian/DjvuNet/issues/1#issuecomment-45448644.
— Reply to this email directly or view it on GitHub https://github.com/Telavian/DjvuNet/issues/1#issuecomment-45451122.
kalpanaprasad Serskamp Belgium
— Reply to this email directly or view it on GitHub https://github.com/Telavian/DjvuNet/issues/1#issuecomment-45800095.
Ok. I did look at the error and it is going to take me a bit more time to figure out. I will need to look at the DJVU specs again. It appears that the single page files are quite a bit different and are missing a lot of the heading information. I will need to figure things out for that.
As you noticed it appears you could simply add a blank page at the end and it would work. I will get it fixed, but it seems to be more in depth.
On Wed, Jun 11, 2014 at 3:41 PM, Patrick Morris [email protected] wrote:
Sorry. I said I would get to it already. I will look at it in a bit. I am sure that it is a simple error.
Out of curiosity, what are you going to be using the library for?
On Wed, Jun 11, 2014 at 2:06 PM, prasadgurla [email protected] wrote:
did u get any chance to look at the single page issue?
Thanks in advance,
On Mon, Jun 9, 2014 at 12:57 AM, Telavian [email protected] wrote:
Multi threading it does help, but takes up memory. On Jun 8, 2014 2:08 PM, "prasadgurla" [email protected] wrote:
I tried a 64 page djvu file just now..and hmm...takes about ~3 seconds for 1 page..so >3 minutes for the full file. Still acceptable but..is there a way to solve this? maybe run multiple threads?
— Reply to this email directly or view it on GitHub https://github.com/Telavian/DjvuNet/issues/1#issuecomment-45448644.
— Reply to this email directly or view it on GitHub https://github.com/Telavian/DjvuNet/issues/1#issuecomment-45451122.
kalpanaprasad Serskamp Belgium
— Reply to this email directly or view it on GitHub https://github.com/Telavian/DjvuNet/issues/1#issuecomment-45800095.
Thank you for your reply. I have a pdf related website and wanted to add a new application.
Please have a look at my website: http://pdfaid.com (feedback welcome)
I did get the idea of adding a new page..but how can it be done through code?
Thanks a lot, Prasad.
On Thu, Jun 12, 2014 at 6:48 AM, Telavian [email protected] wrote:
Ok. I did look at the error and it is going to take me a bit more time to figure out. I will need to look at the DJVU specs again. It appears that the single page files are quite a bit different and are missing a lot of the heading information. I will need to figure things out for that.
As you noticed it appears you could simply add a blank page at the end and it would work. I will get it fixed, but it seems to be more in depth.
On Wed, Jun 11, 2014 at 3:41 PM, Patrick Morris [email protected] wrote:
Sorry. I said I would get to it already. I will look at it in a bit. I am sure that it is a simple error.
Out of curiosity, what are you going to be using the library for?
On Wed, Jun 11, 2014 at 2:06 PM, prasadgurla [email protected] wrote:
did u get any chance to look at the single page issue?
Thanks in advance,
On Mon, Jun 9, 2014 at 12:57 AM, Telavian [email protected] wrote:
Multi threading it does help, but takes up memory. On Jun 8, 2014 2:08 PM, "prasadgurla" [email protected] wrote:
I tried a 64 page djvu file just now..and hmm...takes about ~3 seconds for 1 page..so >3 minutes for the full file. Still acceptable but..is there a way to solve this? maybe run multiple threads?
— Reply to this email directly or view it on GitHub https://github.com/Telavian/DjvuNet/issues/1#issuecomment-45448644.
— Reply to this email directly or view it on GitHub https://github.com/Telavian/DjvuNet/issues/1#issuecomment-45451122.
kalpanaprasad Serskamp Belgium
— Reply to this email directly or view it on GitHub https://github.com/Telavian/DjvuNet/issues/1#issuecomment-45800095.
— Reply to this email directly or view it on GitHub https://github.com/Telavian/DjvuNet/issues/1#issuecomment-45829849.
kalpanaprasad Serskamp Belgium
I should be able to fix the code today or early next week. My work demands are lessening.
The only way I know of to add a page is through the DjvuLibre command library. The command djvm -i can insert a page.
On Wed, Jun 11, 2014 at 11:41 PM, prasadgurla [email protected] wrote:
Thank you for your reply. I have a pdf related website and wanted to add a new application.
Please have a look at my website: http://pdfaid.com (feedback welcome)
I did get the idea of adding a new page..but how can it be done through code?
Thanks a lot, Prasad.
On Thu, Jun 12, 2014 at 6:48 AM, Telavian [email protected] wrote:
Ok. I did look at the error and it is going to take me a bit more time to figure out. I will need to look at the DJVU specs again. It appears that the single page files are quite a bit different and are missing a lot of the heading information. I will need to figure things out for that.
As you noticed it appears you could simply add a blank page at the end and it would work. I will get it fixed, but it seems to be more in depth.
On Wed, Jun 11, 2014 at 3:41 PM, Patrick Morris [email protected] wrote:
Sorry. I said I would get to it already. I will look at it in a bit. I am sure that it is a simple error.
Out of curiosity, what are you going to be using the library for?
On Wed, Jun 11, 2014 at 2:06 PM, prasadgurla [email protected]
wrote:
did u get any chance to look at the single page issue?
Thanks in advance,
On Mon, Jun 9, 2014 at 12:57 AM, Telavian [email protected] wrote:
Multi threading it does help, but takes up memory. On Jun 8, 2014 2:08 PM, "prasadgurla" [email protected] wrote:
I tried a 64 page djvu file just now..and hmm...takes about ~3 seconds for 1 page..so >3 minutes for the full file. Still acceptable but..is there a way to solve this? maybe run multiple threads?
— Reply to this email directly or view it on GitHub < https://github.com/Telavian/DjvuNet/issues/1#issuecomment-45448644>.
— Reply to this email directly or view it on GitHub https://github.com/Telavian/DjvuNet/issues/1#issuecomment-45451122.
kalpanaprasad Serskamp Belgium
— Reply to this email directly or view it on GitHub https://github.com/Telavian/DjvuNet/issues/1#issuecomment-45800095.
— Reply to this email directly or view it on GitHub https://github.com/Telavian/DjvuNet/issues/1#issuecomment-45829849.
kalpanaprasad Serskamp Belgium
—
Reply to this email directly or view it on GitHub https://github.com/Telavian/DjvuNet/issues/1#issuecomment-45834951.
Thank you so much. Will wait for you fixing the code.
On Fri, Jun 20, 2014 at 6:12 PM, Telavian [email protected] wrote:
I should be able to fix the code today or early next week. My work demands are lessening.
The only way I know of to add a page is through the DjvuLibre command library. The command djvm -i can insert a page.
On Wed, Jun 11, 2014 at 11:41 PM, prasadgurla [email protected] wrote:
Thank you for your reply. I have a pdf related website and wanted to add a new application.
Please have a look at my website: http://pdfaid.com (feedback welcome)
I did get the idea of adding a new page..but how can it be done through code?
Thanks a lot, Prasad.
On Thu, Jun 12, 2014 at 6:48 AM, Telavian [email protected] wrote:
Ok. I did look at the error and it is going to take me a bit more time to figure out. I will need to look at the DJVU specs again. It appears that the single page files are quite a bit different and are missing a lot of the heading information. I will need to figure things out for that.
As you noticed it appears you could simply add a blank page at the end and it would work. I will get it fixed, but it seems to be more in depth.
On Wed, Jun 11, 2014 at 3:41 PM, Patrick Morris [email protected] wrote:
Sorry. I said I would get to it already. I will look at it in a bit. I am sure that it is a simple error.
Out of curiosity, what are you going to be using the library for?
On Wed, Jun 11, 2014 at 2:06 PM, prasadgurla < [email protected]>
wrote:
did u get any chance to look at the single page issue?
Thanks in advance,
On Mon, Jun 9, 2014 at 12:57 AM, Telavian [email protected]
wrote:
Multi threading it does help, but takes up memory. On Jun 8, 2014 2:08 PM, "prasadgurla" [email protected] wrote:
I tried a 64 page djvu file just now..and hmm...takes about ~3 seconds for 1 page..so >3 minutes for the full file. Still acceptable but..is there a way to solve this? maybe run multiple threads?
— Reply to this email directly or view it on GitHub < https://github.com/Telavian/DjvuNet/issues/1#issuecomment-45448644>.
— Reply to this email directly or view it on GitHub < https://github.com/Telavian/DjvuNet/issues/1#issuecomment-45451122>.
kalpanaprasad Serskamp Belgium
— Reply to this email directly or view it on GitHub https://github.com/Telavian/DjvuNet/issues/1#issuecomment-45800095.
— Reply to this email directly or view it on GitHub https://github.com/Telavian/DjvuNet/issues/1#issuecomment-45829849.
kalpanaprasad Serskamp Belgium
—
Reply to this email directly or view it on GitHub https://github.com/Telavian/DjvuNet/issues/1#issuecomment-45834951.
— Reply to this email directly or view it on GitHub https://github.com/Telavian/DjvuNet/issues/1#issuecomment-46696759.
kalpanaprasad Serskamp Belgium
Can create a pull request if you like, —figured I'd post a quick fix my curiosity pushed toward. That test-case up there is a keeper. N¡ce lib ;)
Sure. Sorry I didn't fix it myself.
On Tue, Aug 12, 2014 at 3:10 PM, tfw [email protected] wrote:
Can create a pull request if you like, —figured I'd post a quick fix my curiosity pushed toward. That test-case up there is a keeper. N¡ce lib ;)
— Reply to this email directly or view it on GitHub https://github.com/Telavian/DjvuNet/issues/1#issuecomment-51984971.