|
|
#1 |
|
Zealot
![]() Posts: 106
Karma: 10
Join Date: Sep 2013
Device: Kindle Paperwhite (2012)
|
Make mobis downloaded via a recipe smaller
My e-mail provider refuses to send my downloaded news to my Kindle because the files are to large. I came up with this code (do not run if you have a tmp directory in your working directory):
Code:
ebook-convert big.mobi tmp.epub
unzip -d tmp tmp.epub
cd tmp
find . -type f \
-iregex '^.*[.]\(jpg\|jpeg\|png\|gif\)$' \
-exec mogrify -quality 85 -resize '500x500>' {} \;
zip -Duro ../tmp1.epub .
cd ..
rm -rf tmp
ebook-convert tmp.epub small.mobi
|
|
|
|
|
|
#2 |
|
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,560
Karma: 93980341
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
Moved to the Calibre forum.
|
|
|
|
| Advert | |
|
|
|
|
#3 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,598
Karma: 28548962
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
choose an output profile in calibre with a small screen size, or use the compress_news_images parameter in the recipe itself.
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Make the size from 200MB 400pp epub .. smaller? How? | hlk123 | Calibre | 9 | 02-09-2018 04:40 PM |
| How to make line spacing smaller | Waylander | Amazon Kindle | 1 | 11-28-2013 01:37 PM |
| Way to make font smaller in converted Lit files? | MidknytOwl | Sony Reader | 3 | 06-16-2008 08:47 AM |
| [calibre] recipe - smaller font? | moneytoo | Calibre | 0 | 06-01-2008 08:00 AM |
| Can I make it smaller? | jennaclaire | Sony Reader | 6 | 01-14-2008 09:10 AM |