![]() |
#1 |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Jan 2009
Location: Perth, Western Australia
Device: ipod touch
|
Images Folder - Resize files
The novel I am reading on my ipod Touch has images to designate different sections of the book. These spread over 2 "pages" on the Touch. I want to resize them as I currently do with all my cover images and insert them back into the book. How do I access these files? Copy is not available and there is no export that I can see. Originally mobi coverted via Calibre to epub. Have Sigil 0.2.1.
Any pointers appreciated. ![]() |
![]() |
![]() |
![]() |
#2 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,883
Karma: 59840450
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
or you could extract (unzip), re-size and update (add back) the image file (no name changes allowed) |
|
![]() |
![]() |
![]() |
#3 |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Jan 2009
Location: Perth, Western Australia
Device: ipod touch
|
So easy once the file was unzipped to get at the image files.
Thanks for your help, much appreciated. ![]() |
![]() |
![]() |
![]() |
#4 | |
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
By any chance, do you or anyone else here know the optimal img size for display on an iPad? Oy, I have a children's picture book to do...the info would be most welcome. Thanks, Hitch |
|
![]() |
![]() |
![]() |
#5 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,883
Karma: 59840450
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
They stay there, I stay here. Fuji is my brand. i-don't (do Apple ![]() No i-pad, No i-phone |
|
![]() |
![]() |
![]() |
#6 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 281
Karma: 52007
Join Date: Jun 2010
Device: nook
|
I'll have to try the un-zip trick a second time.
I tried once, re-sized the images, re-zipped the entire thing, changed extension from .zip to .epub. Worked fine in Calibre's viewer. But when I sent the epub to my Nook, the Nook apparently could not read the metadata (could not figure out the author name), and opening the epub made the screen flicker, then it dumped me back to the book selection screen. Must have gotten corrupted somehow. |
![]() |
![]() |
![]() |
#7 |
Reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 520
Karma: 24612
Join Date: Aug 2009
Location: Utrecht, NL
Device: Kobo Aura 2, iPhone, iPad
|
You can't just rezip the thing. It is dangerous. The first element (mimetype) has to be treated specially: It must be the first file and it should not be compressed in any way. Depending on your Zip software this may happen by accident but don't count on it.
Something like: zip -0Xq book.epub mimetype zip -Xr9D book.epub * |
![]() |
![]() |
![]() |
#8 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 697
Karma: 150000
Join Date: Feb 2010
Device: none
|
Quote:
zip -0Xq ../book.epub mimetype zip -Xr9D ../book.epub * which will create the epub in the directory above that of the unzipped epub. I know that's what you meant, I'm just commenting for the newbies here who might not catch it. |
|
![]() |
![]() |
![]() |
#9 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,543
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Just to be picky, the second command zips everything, which includes "mimetype" again, so it could be compressed instead of just stored. To exclude mimetype:
zip -Xr9D ../book.epub * -x mimetype My standard script is: Code:
FILE="Book Title.epub" rm -f "$FILE" zip -X0 "$FILE" mimetype zip -X9Dr "$FILE" META-INF OEBPS |
![]() |
![]() |
![]() |
#10 | |||
Reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 520
Karma: 24612
Join Date: Aug 2009
Location: Utrecht, NL
Device: Kobo Aura 2, iPhone, iPad
|
Quote:
Quote:
zip -0Xq book.epub mimetype zip -Xur9D book.epub * My man page (Mac OS X) says Quote:
|
|||
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How many files(txt) can be in one folder | alxwang | PocketBook | 5 | 06-20-2010 09:39 PM |
Cannot delete C:\Program Files\calibre folder | Scotch | Calibre | 0 | 10-10-2009 03:37 AM |
Calibre files left in Temp folder | itimpi | Calibre | 8 | 05-06-2009 06:15 AM |
help finding folder on xp sp2 where files of ebook lib 2.5 go? | atesta | Sony Reader | 4 | 01-20-2009 02:05 PM |