Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Editor

Notices

Reply
 
Thread Tools Search this Thread
Old 03-11-2015, 07:29 PM   #1
u238110
Connoisseur
u238110 began at the beginning.
 
Posts: 91
Karma: 10
Join Date: Feb 2014
Location: Long Island, NY
Device: Aura, N514KUBKKEP, 4.7.10.413
'mark as cover image'

Why do I have the option to mark both an xhtml file as a 'cover image' and an image as a cover image? Why wouldn't there just be one 'cover image' option? This seems so silly and unintuitive.
Attached Thumbnails
Click image for larger version

Name:	3434.png
Views:	217
Size:	12.6 KB
ID:	135858   Click image for larger version

Name:	668.png
Views:	200
Size:	12.0 KB
ID:	135859  

Last edited by BetterRed; 03-11-2015 at 09:57 PM. Reason: Moved to the intuitively relevant sub forum
u238110 is offline   Reply With Quote
Old 03-11-2015, 08:34 PM   #2
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
This question seems silly and unintuitive.

Well, so are the EPUB "standards".

Both are needed and for obvious reasons should match.

Kindle formats will just use the marked image, EPUB looks for the coverpage (but I think not all readers).
eschwartz is offline   Reply With Quote
Advert
Old 03-11-2015, 08:45 PM   #3
u238110
Connoisseur
u238110 began at the beginning.
 
Posts: 91
Karma: 10
Join Date: Feb 2014
Location: Long Island, NY
Device: Aura, N514KUBKKEP, 4.7.10.413
The fact that the two actions aren't tied together is what seems silly. Redundant is a better word and honestly I'm sure any software engineer would agree with me. And I didn't understand your explanation.
u238110 is offline   Reply With Quote
Old 03-11-2015, 08:54 PM   #4
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,936
Karma: 55705602
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Because a coverpage COULD be text with a smaller image (eg the old Calibre look)

So the page needs to be ID'd

then the image flagged, just in case an automater wants to replace just that piece
theducks is offline   Reply With Quote
Old 03-12-2015, 03:48 AM   #5
Ghitulescu
Fanatic
Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.
 
Posts: 563
Karma: 403106
Join Date: Aug 2014
Device: PRS-T1
I understand the OP confusion.

A book can only have a cover. At least paperbooks have (the others are named differently).
So if one marks an image as a cover, why the (X)HTM(L) file can be set as well? And if it's required to be this a cover why the image retains its status?

Speaking of this: I have yet to find the "uncover" option, id est to remove the cover-status of a file....

Anyway, no hardware eReaders I have was able to display an image as a cover, only XHTML files (which may include an image).
Ghitulescu is offline   Reply With Quote
Advert
Old 03-12-2015, 04:02 AM   #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: 74,520
Karma: 129668758
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
The problem is that there are two ways for an ePub reader to decide what to use as the cover image. One is to take the first page of the ePub and use that as the cover. The other is to look for a meta tag for the cover in the OPF and then use the graphic pointed to by the meta tag for the cover. This only effects thumbnails as in cover view.
JSWolf is offline   Reply With Quote
Old 03-12-2015, 10:20 AM   #7
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,590
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
There are perfectly valid reasons to want to have an image marked as the cover image (in the OPF metadata) WITHOUT having an html cover page (even one that contains the same image) marked as a cover page (in the OPF guide section) as a consequence.

Taking away someone's ability to do the one without the other (by automatically linking the two actions) would be presumptuous.

Quite simply put: cover page and cover image are not synonymous with each other. So 'marking' them should remain independent of each other.
DiapDealer is offline   Reply With Quote
Old 03-17-2015, 08:30 AM   #8
Ghitulescu
Fanatic
Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.
 
Posts: 563
Karma: 403106
Join Date: Aug 2014
Device: PRS-T1
Quote:
Originally Posted by DiapDealer View Post
There are perfectly valid reasons to ....
Such as?
Ghitulescu is offline   Reply With Quote
Old 03-17-2015, 08:36 AM   #9
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,936
Karma: 55705602
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 Ghitulescu View Post
Such as?
As my Dad would say...
"Them's the RULES.
Follow them."
theducks is offline   Reply With Quote
Old 03-17-2015, 08:46 AM   #10
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,590
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by Ghitulescu View Post
Such as?
Such as wanting to have an image marked as a cover image (metadata section of the opf) with no (x)html cover page (guide section of the opf), or vice-versa--wasn't I clear??

That fact that the EPUB spec ALLOWS such things--coupled with the fact the people have expressed an interest in wanting to DO such things--should be reason enough for anyone that the actions remain independent of each other.

Add to that the fact that they're just not the same things. I don't know how much simpler I can put it. One can exist without the other in a validating epub. Knowing that, I should think the ability to be able to mark them independently would appeal to common sense.

Last edited by DiapDealer; 03-17-2015 at 09:03 AM.
DiapDealer is offline   Reply With Quote
Old 03-17-2015, 09:32 AM   #11
Ghitulescu
Fanatic
Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.
 
Posts: 563
Karma: 403106
Join Date: Aug 2014
Device: PRS-T1
Quote:
Originally Posted by DiapDealer View Post
Such as wanting to have an image marked as a cover image (metadata section of the opf) with no (x)html cover page (guide section of the opf), or vice-versa--wasn't I clear??

That fact that the EPUB spec ALLOWS such things--coupled with the fact the people have expressed an interest in wanting to DO such things--should be reason enough for anyone that the actions remain independent of each other.

Add to that the fact that they're just not the same things. I don't know how much simpler I can put it. One can exist without the other in a validating epub. Knowing that, I should think the ability to be able to mark them independently would appeal to common sense.
I don't care whether the EPUB specs allows it or not. This is not an argument to do things, just because they are permitted. This is all that I could understand from your statements, sorry.
I understand also that you think you're clear, because you know more than you said - why would one have an image marked as cover yet another file x/htm/l marked as well?

For instance, my Sony does not recognize images as covers, even if marked as such, a text file however yes. Neither the Trekstor. So marking an image as cover does not solve the problem of displaying it as cover in all cases. Therefore the ability to mark a text document as a cover is not only handy but also required.
Ghitulescu is offline   Reply With Quote
Old 03-17-2015, 10:47 AM   #12
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,590
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by Ghitulescu View Post
Therefore the ability to mark a text document as a cover is not only handy but also required.
But it's NOT "required" it's permitted. The EPUB2 spec has no standard for dealing with cover images, so I would think flexibility would be desirable in an editor to help accommodate varying device/app implementations (plus there's the fact that calibre's editor is not JUST an epub editor).

You've also managed to argue your way right into supporting the idea that the actions of "marking" a cover page|image should remain independent of each other. In your examples, you don't NEED the image to be marked as a cover image ... you only need to indicate the cover page in order for it to display properly on the devices you indicated. So why would you want calibre's editor to automatically mark the image as well when you don't need it to?

Never mind the fact that calibre's editor also allows the editing of AZW3 kindle files -- which use images as covers and NOT html pages.

There's seriously more reasons for keeping the actions separate than there are reasons for pointlessly (and quite possibly detrimentally) linking them. You not seeing them doesn't make them any less valid.

Last edited by DiapDealer; 03-17-2015 at 11:03 AM.
DiapDealer is offline   Reply With Quote
Old 03-17-2015, 11:33 AM   #13
arspr
Dead account. Bye
arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.
 
Posts: 587
Karma: 668244
Join Date: Mar 2011
Device: none
This discussion is pretty pointless...

OK, in most books, the cover html file (which is explicitly set as this kind of file in guide section) just contains a link (in either img or svg>image flavour) to a bitmap which is also set as cover image (in metadata section).

But you can freely do whatever other combinations you want. So, therefore, they cannot be directly linked. Period. Now, discuss whatever you want but it's absurd IMO.

Maybe your cover.html just contains text, or maybe it contains only SVG vector shapes, or maybe it contains three bitmaps. Or maybe you just want to set one of them (or none of them).

If you are really interested, what you could propose would be an enhancement to Calibre where, whenever you set an html file as cover type, IF AND ONLY IF it only contained a single link to an image, Calibre automatically suggested you to mark that image as cover... As you can imagine I cannot foretell Kovid's answer, but I'll bet to "sure, patches are welcomed" .

Last edited by arspr; 03-17-2015 at 11:46 AM.
arspr is offline   Reply With Quote
Old 03-17-2015, 01:00 PM   #14
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,936
Karma: 55705602
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
1 line of code in the OPF
vs
how many lines in this thread

theducks is offline   Reply With Quote
Old 03-17-2015, 03:35 PM   #15
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,652
Karma: 26966376
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by theducks View Post
1 line of code in the OPF
vs
how many lines in this thread



I remove covers from epub files - although I keep a cover in the calibre library. If didn't use the calibre library I would consider keeping the image in the epub but not show it as a front cover - I'd probably put it at the back with the metadata jacket.

BR
BetterRed is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cover image isn't displaying as cover image Eugene88 Sigil 3 08-15-2012 04:05 PM
cover image lionelsnod Feedback 0 02-10-2012 07:51 AM
cover image jjh76 Calibre 3 12-30-2011 06:29 AM
Cover Image Todd Young Writers' Corner 3 09-20-2011 05:16 PM
Cover Image Padr49904 Sigil 7 05-07-2011 06:59 PM


All times are GMT -4. The time now is 12:31 PM.


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