![]() |
#1 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 313
Karma: 2228060
Join Date: Dec 2013
Location: LaVernia, Texas
Device: kindle epub readers on android
|
jpg and jpeg conversion to png in editor
Is there a fast method of converting jpg and jpeg image files to png inside the editor? jpg and jpeg images produce jaggies when sent to Amazon while png do not. I have been exporting the jpeg and jpg files from the editor to a blank folder, then processing the batch with "mogrify -format png *.jpg", importing them back into the editor, then renaming them individually, then bulk deleting the jpg and jpegs. Best regards, Pop
|
![]() |
![]() |
![]() |
#2 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,029
Karma: 144284074
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,171
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
select all images, right click export all the files. The right click and change extension to png. Then convert the files. Then delete the files. Then import the converted files. Be careful in case the files are supposed ot be in some sub-folders. In that case do one sub folder at a time.
|
![]() |
![]() |
![]() |
#4 | ||
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 313
Karma: 2228060
Join Date: Dec 2013
Location: LaVernia, Texas
Device: kindle epub readers on android
|
jaggies
Quote:
Quote:
Thanks to all, Pop |
||
![]() |
![]() |
![]() |
#5 |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,673
Karma: 103503501
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
Don't use an ebook as source if you are publishing on paper. You export a PDF with Amazon desired margins defined in the wordprocessor page styles.
There is then no need at all to download from Amazon, the PDF you upload is what they use. You do need to preview on screen and check that the cover works and the page trim works. They'll tell you if the margins are violated. A PDF download is pointless for actual ebooks. You have to do a test buy of mobi, azw3 and KFX on a suitable ereader(s). Kindle preview is also a bit pointless. On ebooks Amazon will reprocess any large jpegs and may change PNG to 256 colour indexed GIF. jpeg = jpg, just different text for the file ending. No effect. Only use Calibre's PDF converter to convert ebooks for you own use. Publishing on paper doesn't involve Calibre at all (only used to make ebooks). The best way is properly style pages, header, footer etc in MS Word or LO Writer and then direct export a PDF. You only use Calibre for publishing to make an epub from a docx (which need different settings to a paper edition), or exceptionally also making a "dual Mobi" for Smashwords so they can offer epub and Kindle versions. Only upload an epub to Amazon KDP for an ebook version, which Amazon converts to mobi, azw3 and kfx. Amazon don't convert PDFs properly formatted for paper publishing, which is the only use for a PDF in publishing. Last edited by Quoth; 03-23-2023 at 05:19 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#6 | ||
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 313
Karma: 2228060
Join Date: Dec 2013
Location: LaVernia, Texas
Device: kindle epub readers on android
|
JPEG/JPG vs. PNG in Amazon paper books
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#7 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 313
Karma: 2228060
Join Date: Dec 2013
Location: LaVernia, Texas
Device: kindle epub readers on android
|
Quote:
|
|
![]() |
![]() |
![]() |
#8 | ||
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,673
Karma: 103503501
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
Don't convert epub to PDF ever. Use a copy of the wordprocessor source which needs different styles for an ebook (epub) and paper (a PDF).
Quote:
Quote:
The Calibre PDF output is for a tablet, or local print etc, when you ONLY have an ebook (epub, mobi, lrf, azw3 etc). Otherwise for a publishing ready PDF export direct from Wordprocessor. If you ONLY made & edited an epub and don't have a docx or odt, then convert the epub to RTF or docx and fix styles in Word (or LO Writer saving in odt and only an extra Save As for docx to make an epub. It's subpar to try and use the same format of file for epub and pdf. I've done conversions to epub for 10 years and from a properly formatted Word or LO Writer exports of PDFs for over 25 years. I've uploaded PDFs to five POD outfits inc Amazon. And used local duplex laser. The whole point of PDF is you get exactly the same everywhere if its from Adobe or export from a Wordprocessor. Calibre is for reflowable ebooks, not fixed layout like PDF, though if you ONLY have the ebook and want a PDF for personal use (NOT PUBLISHIUNG) Calibre works. Last edited by Quoth; 03-24-2023 at 10:16 AM. |
||
![]() |
![]() |
![]() |
#9 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 313
Karma: 2228060
Join Date: Dec 2013
Location: LaVernia, Texas
Device: kindle epub readers on android
|
Thank you for your input. I used Word and LO in the past, but gave up using word processors entirely. I put text directly into calibre's tag editor then add tags and classes. I use quite a bit of visual complexity with boxed images with side, top, and bottom captions. To be sure, I have been aware that this is considered garish and tasteless, not to mention 'busy.' To do these things I am using a lot of Flex. For some reason Amazon does not recognize the much more efficient Grid, Columns, etc. I switched to CSS entirely because the desired correct-looking output with a word processor always will alter itself during its rule-based conversion to PDF. Using CSS I can control all aspects of placement such that there is no drift. If and when Container Queries ever become implemented I suspect there will be a more visually rich landscape for ebooks and ereaders. So far, I have not seen any dedicated ereader as good as calibre itself. Best regards, Pop
|
![]() |
![]() |
![]() |
#10 | |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,673
Karma: 103503501
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
Quote:
Also if wordprocessor styles are used correctly they map exactly to CSS. Perhaps for final release you might edit CSS of images. Well, no-one can help you it you insist on a back-to-front generation of PDF for paper & ebooks. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Showing a jpg /png on the Kindle | stevejoung | Kindle Developer's Corner | 10 | 01-07-2023 05:20 AM |
PNG to JPG | ableal | Calibre | 12 | 10-04-2022 07:39 PM |
Mass Removal of JPEG while keeping PNG? | nemu | Editor | 2 | 08-23-2017 05:06 AM |
Convert SVG to PNG/JPEG in ePUB files | bunglegrind | Conversion | 2 | 04-24-2016 05:01 PM |
Conversion to jpeg/png | Fallingwater | Calibre | 4 | 07-31-2013 08:15 AM |