05-06-2016, 11:18 PM | #256 |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
This one is on me. I kept putting it off due to time. And then forgot about it. When the changes Kovid is making now are released, if someone wants to look at it again, I'll be happy to test. Image manipulation isn't one of my things, so I'll leave it to the experts
|
05-07-2016, 01:27 AM | #257 |
BLAM!
Posts: 13,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@kovidgoyal: Except apparently QImage forcibly skips dithering when converting to an indexed format, which is going to look terrible :/.
I'll see how it actually behaves when I have some more time, because the QT docs are gloriously sneaky, so all may not be lost . (Note to self: i.e., hopefully, we can get a real dither + remap when converting to Format_Grayscale8). @davidfor: Same here, I wanted to give it time to stew a bit and actually test it in the long run on my device after addressing your comments, and then the hidden Nickel dithering options came up... So then I wanted to check how that would all interact together.... And then promptly forgot about the lot of it. But I've been using a patched Calibre build for a year now, and my covers indeed look great, so, there's that . Last edited by NiLuJe; 05-07-2016 at 01:37 AM. |
Advert | |
|
05-07-2016, 09:33 AM | #258 |
creator of calibre
Posts: 43,849
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I am writing my own octree based quantization implementation, I'll probably add a layer of Floyd-Steinberg dithering on top.
QImage.convertToFormat takes options to turn on/off dithering. As far as I can tell the default is to dither when converting to Indexed8 |
05-07-2016, 03:44 PM | #259 | |
Resident Curmudgeon
Posts: 73,931
Karma: 128903250
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
05-09-2016, 11:23 AM | #260 |
creator of calibre
Posts: 43,849
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
@NiLuJe: I finished up my implementation of image quantization.
from calibre.utils.img import quantize_image you can give it a predefined color palette if you dont want it to choose one for you, but doing that will have sub-optimal results. It includes dithering that can be turned off. Last edited by kovidgoyal; 05-09-2016 at 10:25 PM. |
Advert | |
|
05-09-2016, 09:34 PM | #261 |
BLAM!
Posts: 13,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@kovidgoyal: Fantastic, thanks .
I'll take a look next time I have a few spare braincells to dedicate to the task . |
06-14-2016, 12:12 PM | #262 |
Wizard
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
I just upgraded calibre to version 2.58, I think I was on 2.56 previously. (Linux 64-bit)
I have the 'Send black and white covers' option ticked in the KoboTouch driver, but I just noticed that the ePub covers being sent to my Glo are in colour. I checked other covers on my Glo for ePubs sent recently and the ones sent before the upgrade are all greyscale, as expected. Edit: Fixed in Calibre version 2.59, thanks. Last edited by GeoffR; 06-19-2016 at 02:26 PM. Reason: Fixed in Calibre version 2.59 |
06-14-2016, 12:39 PM | #263 | |
Well trained by Cats
Posts: 29,790
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:
|
|
06-14-2016, 08:10 PM | #264 |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Yes, that is a side-effect of removing ImageMagick. The grey scale conversion hasn't been implemented in the new image handling routines.
|
06-14-2016, 10:36 PM | #265 |
creator of calibre
Posts: 43,849
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
@davidfor: grayscaling is implemented, I just made a typo that caused it to not happen -- now fixed.
|
06-15-2016, 12:10 AM | #266 |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
@Kovid: OK. I remembered discussing it with you and couldn't remember if you had implemented it.
And I had to look at the fix. If it had been me, the typo would have been because I use the "correct" spelling in one place. |
06-19-2016, 02:30 PM | #267 |
Wizard
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
The 'Send black and white covers' option is working again in Calibre 2.59, thanks Kovid and David.
|
08-29-2016, 01:56 PM | #268 |
Grand Sorcerer
Posts: 6,233
Karma: 11768331
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Hi,
I thought of using this thread instead of using a new one. As per calibre 2.65, a new option has been added to the Kobo driver for device collections which should be ignored for synchronization and such. It works well if there is any book associated to the collection, but if the collection is empty and the option for remove empty collections is checked, the collection is remoed. Is this the expected behavior? Thank you |
08-29-2016, 11:06 PM | #269 | |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
|
|
08-30-2016, 01:40 AM | #270 |
Grand Sorcerer
Posts: 6,233
Karma: 11768331
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
|
Tags |
kobo |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
firmware update for kobo netronix device | JDC | Netronix | 1 | 08-22-2014 05:33 AM |
Error communicating with device - Kobo eReader after 0.8.56 update | PoignantTuna | Devices | 3 | 06-21-2012 05:48 AM |
[Device Interface Plugin] Update for Nook Color Driver | jmricker | Plugins | 0 | 10-22-2011 10:11 AM |
Kobo Desktop erased entire device database! - Don't dowload update | MrsJoseph | Kobo Reader | 9 | 03-23-2011 11:38 AM |
Sync Problems- Device status doesn't update to Kobo desktop... Wipes my bookmarks | dashto | Kobo Reader | 1 | 11-26-2010 01:35 PM |