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 08-23-2017, 03:43 AM   #1
nemu
Junior Member
nemu began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Aug 2017
Device: Kindle Paperwhite
Question Mass Removal of JPEG while keeping PNG?

How to remove all JPG but keep PNG of a EPUB? Maybe there is a way to access the EBUP folder to mass delete the JPG files?

Additional Info
- I am able to manually remove the JPG, I just would like to do it faster.
- File is an DRM-free EPUB
- I am using calibre 3.6 on OS X 10.11 El Capitan
- The PNG contain useful diagramms while the JPG contain additional fotos, which I don’t need and just use a lot of space. I am already using caliber’s image compression feature.

I haven’t found this specific topic in the documentation nor in previous posts, but if I have missed it please link to it. Thank you for the mobileread and Calibe communities. They add a lot of value to my life.
nemu is offline   Reply With Quote
Old 08-23-2017, 04:29 AM   #2
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,850
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Use the unpack book tool in calibre which will give you a folder on your filesystem witht he files from the epub. Use whtever tools you want to delete the jpegs, then rebuild.
kovidgoyal is offline   Reply With Quote
Old 08-23-2017, 05:06 AM   #3
nemu
Junior Member
nemu began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Aug 2017
Device: Kindle Paperwhite
Thumbs up It worked! Details bewlow

Thanks Kovid, it worked!

Below the detailed how to for my self and others in the future:
1. Optional: Move all images into one folder
Edit Book => Tools - Arrange into folders

2. Press "U" to start unpack tool
Explode book, go into "images", sort by kind, deleted unwanted files, Rebuild book
nemu is offline   Reply With Quote
Reply

Tags
edit book, image, jpeg, picture, question


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert SVG to PNG/JPEG in ePUB files bunglegrind Conversion 2 04-24-2016 05:01 PM
Inserting a jpeg into a PM Lynx-lynx Feedback 11 12-24-2014 06:17 AM
Conversion to jpeg/png Fallingwater Calibre 4 07-31-2013 08:15 AM
convert png & jpeg into wmv or mp3; Manga for my phone Johnnyjohn Introduce Yourself 6 08-06-2010 01:51 PM
where to get autorun.xml, icon.png, key.png, lut.bin for PRS-505 obender Sony Reader Dev Corner 2 01-25-2009 03:20 PM


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


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