09-15-2013, 08:48 AM | #16 | ||
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
Quote:
Quote:
|
||
09-15-2013, 09:35 AM | #17 |
Zennist
Posts: 1,022
Karma: 47809468
Join Date: Jul 2010
Device: iPod Touch, Sony PRS-350, Nook HD+ & HD
|
I have noticed that on a few thumbnails in the book details page, the color is very splotchy. It is ONLY apparent with covers with big areas of a bright red color. I don't notice it on any other colors, or even on darker reds/maroons. Just bright red. See attached screenshot of one such book.
Does android not like the color red? Seriously, is there any way to avoid this? If the tradeoff were a much larger database or a slower import, I fully understand the preference to keep things the way they are. But perhaps there can be some tweak that doesn't negatively impact some other area? I have my thumbnails set to large in the book details page. The book cover image is 1406 x 2104 pixels and is 274 KB. I have book covers on my device that are larger than that but don't notice any peculiarities in the thumbnails like with the red ones. And viewed at 100% on my computer it looks fine. If you'd like, I can send you the actual cover image. --Pat Last edited by PatNY; 09-15-2013 at 09:43 AM. |
Advert | |
|
09-15-2013, 09:41 AM | #18 |
Zennist
Posts: 1,022
Karma: 47809468
Join Date: Jul 2010
Device: iPod Touch, Sony PRS-350, Nook HD+ & HD
|
|
09-15-2013, 10:03 AM | #19 |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
@Pat,
Re: red in covers. I've noticed that calibre itself also seems to have a problem with large areas of red when you drag/drop the cover to update the metadata. I've always assumed it was something to do with jpg compression but as I don't understand the nitty-gritty of image processing I've never pursued it. In calibre I can get round it by renaming the original (good-looking) image to cover.jpg and manually copying it to the calibre book folder but I've no idea how to get round it in CC. |
09-15-2013, 10:46 AM | #20 |
Zennist
Posts: 1,022
Karma: 47809468
Join Date: Jul 2010
Device: iPod Touch, Sony PRS-350, Nook HD+ & HD
|
Jackie -- Yes, when the jpeg image ends up looking a lot worse, it is usually due to compression artifacts.
In the case of Calibre, I never had an issue with compression artifacts because I import book covers differently -- through the "Browse" button in the metadata editor window. Calibre won't resample your images if you do it that way -- so long as the image's resolution (pixel dimensions) doesn't exceed what is set in Calibre. You can tweak this threshold too. I have mine set to really really large so Calibre will never resize/resample my cover images. In the case of CC, it think the compression is done to optimize import times and database size. Personally, I would be willing to sacrifice both as I have plenty of storage room and normally only import books a couple at a time. But I understand if Charles doesn't want to go in that direction. I was just wondering if maybe there was another way to get around it. --Pat Last edited by PatNY; 09-15-2013 at 10:50 AM. |
Advert | |
|
09-15-2013, 10:51 AM | #21 | ||
Grand Sorcerer
Posts: 11,741
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Quote:
0) You add a cover to calibre. I don't think that the cover is processed at all. 1) Calibre creates a cover "thumbnail", usually 320 pix by 320 pix, aspect ratio respected. Tool = imagemagick, format = jpg, compression quality = .7 2) Calibre sends that thumb to CC. 3) When needed, CC explodes the jpg into a bitmap with standard Android tools. Usually the image is sized down (made smaller), but it is possible that it might be sized up a bit. My guess is that it is the step in calibre/imageMagick that doesn't like red, but I don't know that. If you send me the cover I will try to find out what tool is causing the problems. |
||
09-15-2013, 10:55 AM | #22 | |
Grand Sorcerer
Posts: 11,741
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
|
|
09-15-2013, 11:31 AM | #23 |
Zennist
Posts: 1,022
Karma: 47809468
Join Date: Jul 2010
Device: iPod Touch, Sony PRS-350, Nook HD+ & HD
|
Charles, I just sent you the actual jpeg for the cover to your email address.
The thumbnails for this book look just fine in Calibre. In fact I've never once had an issue with how a book cover was rendered in the program. Calibre does process (resample/resize) original cover images when they exceed a certain size. But that size is configurable with one of the tweaks. In my case the threshold is set so high in the tweak that my covers are never processed by Calibre. At any rate, even when Calibre does resample images, I noticed it doesn't use a high compression, so it produces little artifacts. --Pat |
09-15-2013, 11:46 AM | #24 |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
@Charles,
Oops, not quick enough! I've emailed you 3 sample covers. Sorry for my low taste in literature |
09-15-2013, 12:01 PM | #25 |
Grand Sorcerer
Posts: 12,167
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
I wonder if the tweak
Code:
ID: cover_trim_fuzz_value The value used for the fuzz distance when trimming a cover. Colors within this distance are considered equal. The distance is in absolute intensity units. |
09-15-2013, 12:28 PM | #26 | |
Grand Sorcerer
Posts: 11,741
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
I will add a tweak (or something) to calibre to let you set the compression quality. The question is should this be by-device or calibre wide? |
|
09-15-2013, 12:30 PM | #27 |
Grand Sorcerer
Posts: 11,741
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
No, this controls how aggressive calibre cuts off borders when trimming the size of covers. It won't change how the thumbs are produced.
|
09-15-2013, 12:37 PM | #28 | |
Well trained by Cats
Posts: 29,803
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Some folk are touchy on file sizes sent to devices. IMHO the tweak should be at the device driver) level. BUT! Isn't the result contingent on the Calibre stored cover? Should there be a (device driver) limiter that prevents trying to squeeze more out of an already less? |
|
09-15-2013, 01:01 PM | #29 | ||
Zennist
Posts: 1,022
Karma: 47809468
Join Date: Jul 2010
Device: iPod Touch, Sony PRS-350, Nook HD+ & HD
|
Quote:
Quote:
What I don't understand is that you seem to be saying that Calibre makes a thumbnail of a particular cover just once -- and then uses that single thumbnail both for its own internal use (cover browser etc.) and for sending to devices when exporting books. If that's the case, how come this particular cover (Mudbound) looks perfect in my Calibre interface (I can detect no compression artifacts at all) but it looks so splotchy in the book details page of CC? It's like night and day? --Pat |
||
09-15-2013, 01:26 PM | #30 | ||
Grand Sorcerer
Posts: 11,741
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
And I agree with you -- I did it in the device driver. Quote:
We are talking here about the thumbnail used on devices. These also can vary in size. Example, the "standard" for calibre is 68 x 68. Many devices use larger numbers. CC uses 320x320. We are also talking about the compression quality number. Calibre used 70 (.7) for device thumbs, which is quite highly compressed. It used higher numbers in other places, producing bigger thumb "files" (many are only in memory) with better quality. My guess is that your huge covers are actually just slowing calibre down and buying you almost nothing. It will never be shown full size, so it is always being downscaled. The only advantage of keeping an original cover is to avoid multiple jpg compressions passes, because each one loses a little bit of quality. Here are the sizes of the mudbound cover at various compression levels: 50: 9273, 70: 12558, 80: 15482, 85: 17802, 90: 28341, 95: 38352. We can see that switching from 70 to 90 makes the cover 2.4 times bigger. As such, roughly 18kb per book will transfer down to CC for each change, and up to calibre on each connect. This may be worth it for you, but it certainly won't be for many people. Fortunately people can set it how they want. |
||
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre Companion prerelease early availability program | chaley | Calibre Companion | 4 | 10-05-2013 05:31 PM |
Calibre Companion prerelease 3.1.1b (Android) | chaley | Calibre Companion | 9 | 09-13-2013 09:10 AM |
Do I need to run Calibre content server to use Calibre Companion | flyash | Calibre | 2 | 04-06-2013 10:19 PM |
calibre companion on Galaxy Tab2 no connection with calibre | Schwarzenegger1 | Calibre Companion | 6 | 02-27-2013 03:44 AM |
Calibre (or Calibre Companion) For Fetching News Directly Onto Android Tablets? | mojumoka | Devices | 2 | 12-11-2012 12:18 PM |