3,389 reputation
42449
bio website
location
age
visits member for 3 years, 4 months
seen yesterday

Apr
26
accepted How better to adjust more than 2 keyboard layouts
Apr
24
comment How to install GIMP 2.8 on 11.04?
Gimp 2.7.3 is as far as you can go with 11.04
Apr
24
comment How to install GIMP 2.8 on 11.04?
It's not possible, because you'll need at least glib >= 2.30 which will brake your distribution, more: askubuntu.com/questions/105247/…
Apr
23
comment How do I set the default icon for mplayer?
There is typo in 4th command line (Mplayer.svg) and also *x* pattern is not good as it catches also "index.theme" file, which breaks conversion, so above should be fixed
Apr
22
revised Converting DJVU to PDF
added 751 characters in body
Apr
22
awarded  Mortarboard
Apr
21
accepted Which files have SUID bit in bin/ folder
Apr
21
comment Which files have SUID bit in bin/ folder
Thank you... :)
Apr
21
asked Which files have SUID bit in bin/ folder
Apr
20
comment Converting DJVU to PDF
Maybe best for you would be to extract all DjVu pages to TIFF, then try gscan2pdf. If it works (I don't have it right here to check), it will be slow process
Apr
20
comment Converting DJVU to PDF
Yes, you can use imagemagick to autocrop image(s) from DjVu image, only if it's in color, but what will you do with it? "Serious code" kind of work is done in OCR GUIs - "Finereader", "Readiris"... ($ Windows) or even "gscan2pdf" (> 1.0) I think offers this feature. Even then it's not fully automatic, as user needs to confirm that image detection is correct. I'm not aware of easy solution that would suit you. It's very specific, as for some reason I can only guess, you are left with DjVu files, which you want to convert in specific PDF format, so that Calibre can convert "properly".
Apr
19
comment Converting DJVU to PDF
It's not possible. I think I briefly explained what is DjVu - it's just image, and it's totally different then PDF. You'll have to consider image DPI, geometry and position, and even if you deduce it, you'll have to use some serious code to make PDF out of it. As I told you, you don't need to move whole mountain to Calibre.
Apr
19
comment Converting DJVU to PDF
No, he couldn't make proper PDF out of it. It's just suggestion for different approach - make EPUB XHTML out from hOCR, and if images are in color then he could autocrop. All that will depend on XSLT used, in case he goes in that route.
Apr
19
comment How can I assign hotkey for a keyboard layout?
I'm linking this as related
Apr
18
comment Converting DJVU to PDF
Also if I get you right, you don't have to move whole mountain to Calibre automation. EPUB files are just zipped XHTML files with additional XML index templates. I would expect that you can get better result if you invest time and make XSLT for hOCR page to XHTML. If your source DjVu documents consist of color images then you can use ddjvu to extract just background layer and autocrop images with imagemagick
Apr
18
comment Converting DJVU to PDF
There is no such definition in DjVu file structure. Above example image in original DjVu document is "placed" on foreground layer/mask together with characters image and there is separate text layer which was extracted as explained. If DjVu document has color image(s) they will be placed on background layer across whole page (in common compound DjVu file). While it's understandable that you may expect that images in DjVu document page are separate objects they are not - look at DjVU document page as single image with optional text layer, that's basically what is it.
Apr
17
comment Converting DJVU to PDF
What do you mean by "individual picture data" when you refer to DjVu file structure?
Apr
17
comment Sync Google Calendar Tasks with Evolution
Not with Evolution tasks, but you could maybe use google-task-indicator
Apr
17
comment Blender 2.62 tutorial for architectural works?
Packt pub., has many Blender approaches: packtpub.com/books/all?keys=blender
Apr
16
answered Converting DJVU to PDF