|
|
#1 |
|
Member
![]() Posts: 13
Karma: 10
Join Date: Jan 2010
Device: BEBOOK
|
Where are epub images stored?
I want to get the image and open them in an image editor so i can crop the borders. Then reinsert the image in the epub. How can i do this? In code it looks like this: Code:
<img class="calibre1" src="../images/img0016.png" /> But i can not find this temporary folder (or the original image). Any ideas? Thanks! |
|
|
|
|
|
#2 |
|
The Grand Mouse
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,329
Karma: 73595938
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle 2; iPhone 3G; Bookeen Opus; NOOK ST GlowLight
|
Change the .epub extension to .zip. Then unzip. Find the image in the unzipped folder, edit it, save in the same place and name, and re-zip (using a proper epub zipping method - e.g. my applescript, if you're on Macintosh), and change the extension back to .epub.
__________________
Kai Lung Raises His Voice, now available at Amazon and BooksOnBoard A new collection of ‘Kai Lung’ stories by Ernest Bramah, including four previously unpublished stories. Need professional help formatting your ebook? Send me email.....................Books I've read in 2013, 2012, 2011, 2010 |
|
|
|
|
Enthusiast
|
|
|
|
#3 | |
|
Created Sigil, FlightCrew
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,975
Karma: 348069
Join Date: Feb 2008
Device: Sony Reader PRS 505
|
Quote:
But right now, this is a bit difficult. Pdurrant gave a very good and simple way of doing this. The image files are located in the "<SigilTempFolder>/scratchpad/<BookUUIDFolder>/OEBPS/images". The path to "<SigilTempFolder>" is "<UserHomeFolder>/My Documents/Sigil" on Windows and "<UserHomeFolder>/.Sigil" on Unices like Mac OS X and Linux (notice the dot in the folder name). The next version of Sigil will use "<UserHomeFolder>/Sigil" (no dot) on Windows. Do be very careful if you're editing the files in the book's folder. If you screw something up, you could crash Sigil. You're not really meant to mess around in that temp folder. |
|
|
|
|
|
|
#4 |
|
Member
![]() Posts: 13
Karma: 10
Join Date: Jan 2010
Device: BEBOOK
|
![]() thanks pdurrant for your description. This method seems to work. I used JPEGCrops 0.7.5b to crop the images; http://ekot.dk/programmer/JPEGCrops/ -freeware (for private use) - goes pretty fast - you can also rotate pictures and also thanks to Valloric for the additional info. Time to do some reading now ... |
|
|
|
![]() |
| Tags |
| crop, image |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| tips for adding images in epub | hapax legomenon | ePub | 14 | 01-22-2011 12:32 PM |
| PDF to Epub - Images with Text | ebahm | Calibre | 2 | 09-19-2010 03:23 PM |
| pdf to epub/breaking up images? | dhume01 | Calibre | 1 | 07-06-2010 08:51 PM |
| Help with images in EPUB conversions, please | jackie_w | Calibre | 11 | 10-30-2009 03:29 PM |
| nytimes, missing images in EPUB | ees | Calibre | 1 | 01-10-2009 12:52 PM |