Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 04-01-2017, 01:00 PM   #1
icq70610
Enthusiast
icq70610 will become famous soon enoughicq70610 will become famous soon enoughicq70610 will become famous soon enoughicq70610 will become famous soon enoughicq70610 will become famous soon enoughicq70610 will become famous soon enough
 
icq70610's Avatar
 
Posts: 49
Karma: 510
Join Date: Sep 2008
Device: PSR505
Send/Save Cover in Greyscale

Hi all,

I had an Idea for a "feature" that i think would be beneficial for some of us.

Ad a checkbox that by update the "cover" transforms the Image into grey scale image.

I use to have 2x for each book a high res cover for "pdf" / high dpi Android devices but also for epub / mobi generation 800x600 and they mostly only display grey scale anyhow. by this way I reduce the ebook size from 1MB avg to 200KB, not much in single book terms but for 100 books makes up quite some effort.

\Pete
icq70610 is offline   Reply With Quote
Old 04-01-2017, 01:42 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,768
Karma: 54401244
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by icq70610 View Post
Hi all,

I had an Idea for a "feature" that i think would be beneficial for some of us.

Ad a checkbox that by update the "cover" transforms the Image into grey scale image.

I use to have 2x for each book a high res cover for "pdf" / high dpi Android devices but also for epub / mobi generation 800x600 and they mostly only display grey scale anyhow. by this way I reduce the ebook size from 1MB avg to 200KB, not much in single book terms but for 100 books makes up quite some effort.

\Pete
I really think this option should be in the Send to Device setting, Not
Modify EPUB , which changes the Library Copy.
Once done COLOR is lost for good.
theducks is offline   Reply With Quote
Advert
Old 04-01-2017, 06:02 PM   #3
Rev. Bob
Wizard
Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.
 
Rev. Bob's Avatar
 
Posts: 1,760
Karma: 9918418
Join Date: Feb 2013
Location: Here on the perimeter, there are no stars
Device: Kobo H2O, iPad mini 3, Kindle Touch
Quote:
Originally Posted by theducks View Post
I really think this option should be in the Send to Device setting, Not
Modify EPUB , which changes the Library Copy.
Once done COLOR is lost for good.
I concur. Also, different devices have different algorithms for translating color to grayscale, based on their own capabilities, so such a change is pretty much begging for complaints that some grayed book looks worse on whichever device.
Rev. Bob is offline   Reply With Quote
Old 04-01-2017, 06:11 PM   #4
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 73,866
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
I do want to keep the cover in color. If I read the book on my phone or iPad, I want to see the cover in color. If I read the book on my H2O, the H2O can show the cover in grayscale. Also,some Readers use 16 shades of gray and some use 8. The plugin will have no idea how to best dither the cover.

Last edited by JSWolf; 04-01-2017 at 06:23 PM.
JSWolf is offline   Reply With Quote
Old 04-01-2017, 06:23 PM   #5
Rev. Bob
Wizard
Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.
 
Rev. Bob's Avatar
 
Posts: 1,760
Karma: 9918418
Join Date: Feb 2013
Location: Here on the perimeter, there are no stars
Device: Kobo H2O, iPad mini 3, Kindle Touch
Quote:
Originally Posted by JSWolf View Post
I do want to keep the cover in color. If I read the book on my phone or iPad, I want to see the cover in color. If I read the book on my H2O, the H2O can show the cover in grayscale.
JS, you're free to have your preferences on every subject under the sun. Really, you are. But when the topic is whether or not to add a feature to a plugin, or modify how an existing one works, saying "I have no interest in that feature" only clutters the conversation.

That's doubly true when making an observation that has already been made and agreed with: that this particular change would fit better in the "send to device" module (changing the copy on that one device) rather than in a module that alters the archive (changing it for all future use). There is value in the idea of sending a grayscale cover to a grayscale device - primarily in that grayscale images are much more compact, so such a change would permit more books to fit on the device - so while you or I may not mind the "hit" of sending full color to such devices, it's perfectly reasonable that others would want a way to change that.

Personally, I'd love a smoother, more automatic way to use the color picker to change the cover page's background color - but I'm perfectly aware that this is a very niche desire, so there's not much to be gained by saying so. Thus, I keep my trap shut and use the existing tool to get what I'm after.

Last edited by Rev. Bob; 04-01-2017 at 06:26 PM.
Rev. Bob is offline   Reply With Quote
Advert
Old 04-01-2017, 06:24 PM   #6
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 73,866
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Rev. Bob View Post
JS, you're free to have your preferences on every subject under the sun. Really, you are. But when the topic is whether or not to add a feature to a plugin, or modify how an existing one works, saying "I have no interest in that feature" only clutters the conversation.
You've missed my edit. Please go back and have a read.
JSWolf is offline   Reply With Quote
Old 04-01-2017, 06:33 PM   #7
Rev. Bob
Wizard
Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.
 
Rev. Bob's Avatar
 
Posts: 1,760
Karma: 9918418
Join Date: Feb 2013
Location: Here on the perimeter, there are no stars
Device: Kobo H2O, iPad mini 3, Kindle Touch
Quote:
Originally Posted by JSWolf View Post
You've missed my edit. Please go back and have a read.
In your edit, you completely missed that I said the same thing - just in more general terms - in the message right above yours.

My later point remains true, though. Even a "full" 256-gray image will be a much smaller file than a true-color image of the same dimensions, so sending a gray version would raise the number of books one can store on that device by a considerable factor... probably a more significant margin than the existing resize option permits. (True color is typically encoded as either three or four 256-level channels; grayscale only uses one.)
Rev. Bob is offline   Reply With Quote
Old 04-01-2017, 07:04 PM   #8
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,544
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by icq70610 View Post
Hi all,

I had an Idea for a "feature" that i think would be beneficial for some of us.
@icq70610 - the consensus seems to be that adding this feature to the standard issue Modify plugin is not a good idea.

If Kovid doesn't want to add the functionality to Send to Device (and Save to Disk), then you could create a private version of the plugin, as a number of other folks have done.

The plugin already has the code to remove and inject cover images, so what's needed is 'a way' to create a greyscale image from the book's cover.jpg and inject that into the epub. There's a good chance that 'the way' is available from the calibre core.

I'm sure the likes of Rev. Bob and Kovid will gladly offer their guidance.

see post 1099

BR

Last edited by BetterRed; 04-01-2017 at 08:37 PM.
BetterRed is offline   Reply With Quote
Old 04-01-2017, 07:43 PM   #9
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 73,866
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Rev. Bob View Post
In your edit, you completely missed that I said the same thing - just in more general terms - in the message right above yours.

My later point remains true, though. Even a "full" 256-gray image will be a much smaller file than a true-color image of the same dimensions, so sending a gray version would raise the number of books one can store on that device by a considerable factor... probably a more significant margin than the existing resize option permits. (True color is typically encoded as either three or four 256-level channels; grayscale only uses one.)
What I do with the cover is use Calibre's editor to reduce the size to 1500 lines if it's larger and I losslessly compress at 80%. That works and reduces the cover image size enough. I prefer to keep the color images. I know grayscale images are going to be smaller, but I don't try to cram my H2O full of books.
JSWolf is offline   Reply With Quote
Old 04-01-2017, 07:50 PM   #10
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 73,866
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
I have the perfect solution. What's needed is to add an option in the Calibre editor to convert an image to grayscale. You do most things you'd want to do with an image but not convert to graycale.
JSWolf is offline   Reply With Quote
Old 04-01-2017, 08:33 PM   #11
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,544
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Why not just open the epub in Sigil, right click the cover.jpeg file, open it with any half decent image editor and save it in greyscale.

Why care if it changes the epub in the library, it doesn't change the book's cover.jpg file, which can be put back into the library epub with Polish Book in a heartbeat.

And not a line of code need be written.

BR
BetterRed is offline   Reply With Quote
Old 04-02-2017, 08:06 AM   #12
Rev. Bob
Wizard
Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.
 
Rev. Bob's Avatar
 
Posts: 1,760
Karma: 9918418
Join Date: Feb 2013
Location: Here on the perimeter, there are no stars
Device: Kobo H2O, iPad mini 3, Kindle Touch
Quote:
Originally Posted by JSWolf View Post
What I do with the cover is use Calibre's editor to reduce the size to 1500 lines if it's larger and I losslessly compress at 80%. That works and reduces the cover image size enough. I prefer to keep the color images. I know grayscale images are going to be smaller, but I don't try to cram my H2O full of books.
You appear to be confusing my statement that some people do X for reasons A and B with (a) me doing X myself or (b) me recommending that you, specifically, should do X.

Neither is true.

You do what you want, and let other people do as they please. It's a big, wide world out there, full of room for lots of different opinions on this subject. It's neither your place nor mine to impose our opinions on others as The One True Way.

I do some weird stuff, for example. Having noticed how many Open Road Media books use a certain color red bar across the top and bottom of their covers, I took advantage of my newly-installed calibre developer's environment to add a code snippet to my installation that changes the cover page's background color to that shade of red if calibre detects that they're the publisher.

Will anyone else want to do that? Probably not - but I do, so I did, and I like it that way.

Last edited by Rev. Bob; 04-02-2017 at 08:10 AM.
Rev. Bob is offline   Reply With Quote
Old 04-07-2017, 11:33 PM   #13
Dopedangel
Wizard
Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.
 
Dopedangel's Avatar
 
Posts: 1,759
Karma: 30063305
Join Date: Dec 2006
Location: Singapore
Device: Boyue
Quote:
Originally Posted by BetterRed View Post
Why not just open the epub in Sigil, right click the cover.jpeg file, open it with any half decent image editor and save it in greyscale.

Why care if it changes the epub in the library, it doesn't change the book's cover.jpg file, which can be put back into the library epub with Polish Book in a heartbeat.

And not a line of code need be written.

BR
Personally I think cover manipulation could be part of the metadata plugboard options. So just like we can massage metadata according to our needs while sending to our devices having the ability to do the same for covers might be good option.
Dopedangel is offline   Reply With Quote
Old 04-08-2017, 04:11 AM   #14
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 73,866
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Dopedangel View Post
Personally I think cover manipulation could be part of the metadata plugboard options. So just like we can massage metadata according to our needs while sending to our devices having the ability to do the same for covers might be good option.
Not a good idea (IMHO) because covers are not metadata.
JSWolf is offline   Reply With Quote
Old 04-08-2017, 06:29 AM   #15
Rev. Bob
Wizard
Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.
 
Rev. Bob's Avatar
 
Posts: 1,760
Karma: 9918418
Join Date: Feb 2013
Location: Here on the perimeter, there are no stars
Device: Kobo H2O, iPad mini 3, Kindle Touch
Quote:
Originally Posted by JSWolf View Post
Not a good idea (IMHO) because covers are not metadata.
I could make a rather compelling argument to the contrary, especially given how often covers change when books get reprinted.
Rev. Bob is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Save/Send one copy only, using prefered file types Feather_Qwill Library Management 5 06-02-2013 04:38 AM
Send to Device (iPad) vs. Save to Disk (cover issue) 1611mac Devices 17 04-20-2011 11:19 AM
Save cover upon "Send to device" silentguy Calibre 1 11-17-2010 04:44 AM
Convert to same format vs. Send/Save w/t metadata update Starson17 Calibre 4 09-10-2010 01:32 PM
Save to Disk or Send to device Dopedangel Calibre 13 12-11-2009 01:56 PM


All times are GMT -4. The time now is 04:18 AM.


MobileRead.com is a privately owned, operated and funded community.