07-22-2010, 06:57 PM | #1 |
Enthusiast
Posts: 28
Karma: 94
Join Date: Jul 2010
Device: none
|
send to device without conversion?
I've got a bunch of PDFs that I've imported them into Calibre and cleaned up the metadata.
Now, I want to read them on my device, which supports PDFs natively, no conversion necessary. If I use Calibre to send the PDFs to the device, the sending is very slow, much slower than just copying the files. Presumably this is because Calibre does some conversion on the files. How can I get Calibre to not do this conversion? I'd be happy if Calibre just renamed the files according to my customized renaming prefs. The conversion is actually worse then slow... I have a 200 page PDF is presumably a combination of multiple smaller PDFs. The PDF that Calibre sends to the device over only contains the first of these smaller PDFs, i.e., 15 pages. Seems like a dataloss bug to me. |
07-22-2010, 07:01 PM | #2 |
creator of calibre
Posts: 44,566
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
go to preferences->plugins->metadata writer plugins and disable the pdf metadata writer
|
Advert | |
|
07-23-2010, 12:56 AM | #3 |
Enthusiast
Posts: 28
Karma: 94
Join Date: Jul 2010
Device: none
|
thanks for the quick response. i had assumed that disabling that plugin would also leave the PDF sent to the device with no metadata. is there any way to keep calibre's author and title meatadata when sending to the device, but not perform any other conversion?
|
07-23-2010, 01:15 AM | #4 |
creator of calibre
Posts: 44,566
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
there is no other conversion. setting metadata in pdf is slow.
|
07-23-2010, 11:02 AM | #5 |
Enthusiast
Posts: 28
Karma: 94
Join Date: Jul 2010
Device: none
|
Ah, then there is definitely a dataloss bug. From my orig. message: I have a 200 page PDF that is a combination of multiple smaller PDFs. The PDF that Calibre sends to the device only contains the first of these smaller PDFs, i.e., 15 pages, not the full 200 page ebook. I can send the full ebook somewhere if you want to try to reproduce the bug; it's 7MB.
I wonder what makes setting PDF metadata so slow. Does Calibre first send the copy to the device, and then modify the metadata on the device? It might be faster to modify a local copy, then to send that. |
Advert | |
|
07-23-2010, 11:39 AM | #6 |
creator of calibre
Posts: 44,566
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
WHat makes setting metadata so slow is the design of PDF. You have to read the entire PDF into memory, set the metadata and then write it out.
|
07-23-2010, 05:41 PM | #7 |
Enthusiast
Posts: 28
Karma: 94
Join Date: Jul 2010
Device: none
|
oh, that's a really regretful design decision
that pdf truncation bug also occurs when i "save to disk", not only when i "send to device". interestingly, the PDF size is still about 7MBs; those pages are still in it. does Calibre use a third-party library to read in / write out PDFs? exactly what metadata does Calibre write out in addition to author and title? does it actually try to set page numbers? |
07-23-2010, 07:59 PM | #8 |
Curmudgeon
Posts: 3,085
Karma: 722357
Join Date: Feb 2010
Device: PRS-505
|
As I understand it (note: I'm a user, not a dev) calibre is at the mercy of a third-party library when it comes to PDF handling, which gives us calibre users even more reasons than we already had to hate PDFs. One great thing about calibre, though, is that it has the fastest release cycle of any software I have ever used, including when I've been an alpha and beta tester (the real kind that gets credited in the manual, not the "public demo" kind) for several programs. Things that annoy me don't stay annoying for long. If the improvements continue at this rate, by the end of the year it'll wash the dishes, feed the fish, and change the kitty litter.
|
07-23-2010, 08:06 PM | #9 | |
Grand Sorcerer
Posts: 5,185
Karma: 25133758
Join Date: Nov 2008
Location: SF Bay Area, California, USA
Device: Pocketbook Touch HD3 (Past: Kobo Mini, PEZ, PRS-505, Clié)
|
Quote:
Acrobat Pro can do this; I have no idea if there's free or third-party software that can. At worst, the separate docs should be printable to separate PDFs, but that's definitely the slow, troublesome way to get them out of the combined package, and print-to-PDF may result in image files instead of reflowable text. |
|
07-24-2010, 07:18 PM | #10 | |
Enthusiast
Posts: 28
Karma: 94
Join Date: Jul 2010
Device: none
|
Quote:
|
|
07-24-2010, 08:17 PM | #11 | |
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Quote:
|
|
07-25-2010, 02:16 AM | #12 |
US Navy, Retired
Posts: 9,867
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
He's not disagreeing with this theory. He is however saying that the process calibre uses to add metadata causes this pdf file to be changed in such a way that even Adobe acrobat is no longer able to open the full file.
|
07-26-2010, 12:10 AM | #13 | |
Enthusiast
Posts: 28
Karma: 94
Join Date: Jul 2010
Device: none
|
Quote:
I'm happy to test the portfolio theory and report back. How can I tell if my PDF is a portfolio, and how can I convert the portfolio to a flat PDF? I'm on Windows and Linux. Alternatively, I can send the possibly-portfolio PDF to whoever wants to investigate it. |
|
07-26-2010, 12:36 AM | #14 | |
US Navy, Retired
Posts: 9,867
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
Quote:
Good Luck. |
|
07-26-2010, 10:42 AM | #15 | |
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Quote:
As to how to flatten it, Acrobat Pro is the only method I'm aware of. There's a 30 day free trial available (Windows). |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
iPhone Cannot send. No device is connected. | stephenlcraig | Apple Devices | 3 | 12-18-2010 07:55 AM |
Send to Device (structure) | mgmueller | Calibre | 1 | 02-21-2010 02:54 PM |
Send to device button | p3aul | Calibre | 12 | 05-23-2009 03:34 AM |
Lbrs500 send to device | sminarovich | Calibre | 2 | 04-24-2008 07:11 PM |
LibPRS500 Send To Device | pilotbob | Calibre | 1 | 04-06-2008 02:53 PM |