Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 04-21-2022, 08:23 PM   #1
cgrapski
Enthusiast
cgrapski began at the beginning.
 
Posts: 28
Karma: 10
Join Date: Dec 2016
Device: Kindle
Lightbulb IDEA: Add Cover as 1st Page of book (PDF in particular)

I had an idea I figure I would toss out there.

It would be nice if I could click on a button to add the cover image as the first page in a book file - in particular PDF's (where I find the need more often then epub or mobi etc - those tend to have the covers more often already - whereas PDFs quite often don't).

This won't make a difference within calibre - but it will on devices where the first page is shown (and thus the cover makes it more easy to see and find).

So I was just thinking out loud here - if anyone has any thoughts.
cgrapski is offline   Reply With Quote
Old 04-21-2022, 08:36 PM   #2
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,582
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Moderator Notice

Moved to calibre forum

See ==>> PLEASE READ BEFORE POSTING HERE - Purpose of Development subforum

BR
BetterRed is online now   Reply With Quote
Advert
Old 04-21-2022, 10:06 PM   #3
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,862
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
PDF files dont have cover metadata, therefore adding a cover first page is not really safe. Doing it twice would end up with two cover pages and so on.
kovidgoyal is online now   Reply With Quote
Old 04-23-2022, 06:09 AM   #4
cgrapski
Enthusiast
cgrapski began at the beginning.
 
Posts: 28
Karma: 10
Join Date: Dec 2016
Device: Kindle
Red face Ah

I see your point. Although what I am talking about is when I KNOW that the PDF does not have a cover. And I want to add a cover.

I understand it has no metadata to CHECK on whether there is an existing cover or not.

But I personally am not worried about having duplicate covers - as those with an existing cover would not be included in the use of this feature - for me. But I am not trying to do it "universally" (to the whole set of PDF files or to a selected set) - but only on INDIVIDUAL PDFs.

It would thus be convenient if - when I come across a PDF that does not have the cover embedded - I could do so with the click of a button. Rather than having to open up Acrobat, getting the image file, and adding a first page with that image.

But I see what your concern is - in terms of developing the software. I understand. Given that - am I not thinking of a quicker possible way to do this? How would you recommend I approach this issue ... from within the Calibre framework.

SO if I come across a PDF that I have a cover file for - but it is not the first page of the PDF file - would you see a quick (or quicker) way to accomplish this, without adding a function to specifically do this? I guess I could use the Open With to open the file (well or just open it) - and the Open Containing Folder from Calibre. Then manually add the jpg to the first page of the PDF. But still that is almost doing it without the convenience of doing it within the program. Not sure if there is any other way you can see that would make it simpler.

But as always I truly appreciate your work - this is probably better than any commercially available program in any category - in terms of its functionality and use - and it's continual growth and development.
cgrapski is offline   Reply With Quote
Old 04-23-2022, 08:38 AM   #5
Quoth
the rook, bossing Never.
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 11,166
Karma: 85874891
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
You can use a PDF pseudo printer driver to add covers:
1) Print image from ANY application to it
2) Print the PDF to it.
3) Go "printer" and end session, save with desired filename
4) Add PDF to Calibre. If needed delete the older PDF first.
Quoth is offline   Reply With Quote
Advert
Old 04-23-2022, 09:56 AM   #6
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,862
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
It will be a pretty trivial plugin to write to insert an image as the first page of a pdf on the users instruction. However, I dont believe such a feature belongs in core calibre since it cant be implemented robustly, for th ereason I described above.
kovidgoyal is online now   Reply With Quote
Old 05-09-2022, 05:15 AM   #7
cgrapski
Enthusiast
cgrapski began at the beginning.
 
Posts: 28
Karma: 10
Join Date: Dec 2016
Device: Kindle
Yes, I understand. That being such - I do hope someone will write a (simple) plugin to do this. If anyone is listening. I just don't know the programming language well enough to do it. As you say - it would be trivial (if you know what you are doing ).
cgrapski is offline   Reply With Quote
Reply

Tags
cover, development, edit


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to use first page of pdf book as the cover? khahoon Calibre 8 06-30-2022 06:11 PM
How to just add a cover page in a pdf file without converting it? bob_bookworm Conversion 9 04-23-2022 06:16 AM
Add comments from 1st chapter of the book killa Plugins 0 04-08-2012 08:35 AM
jpg as a cover, how to adjust it as a 1st page? shlomof ePub 3 02-27-2011 05:30 PM
"add metadata as 1st page" won't work on batch [send to device] Bellychaser Devices 3 01-25-2011 03:25 PM


All times are GMT -4. The time now is 12:01 AM.


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