Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 01-17-2024, 02:07 PM   #1
pepperop
Junior Member
pepperop began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jan 2024
Device: Pocketbook
Images on an external server

Hi,

My project is to 'convert' a physical book into an e-book by making use of Sigil
The book contains 380 pages (A4) and approx. 475 (color)pictures.

The booktext is now about 6 Mb. The images are consuming 70 Mb.

The idea is to store the images on a cloud location like Google Drive.

My knowledge of the HTML/CSS syntax is to little to write it in a codepage. Can you give me a suggestion or a solution how to manage this issue.

Looking forward your reply!

Pepperop
pepperop is offline   Reply With Quote
Old 01-17-2024, 02:47 PM   #2
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,095
Karma: 18727053
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
First off, welcome to MR!

Let’s break down your question a little bit.
- 375 pages of text shouldn’t be anywhere close to 6MB of data. I think you may have a huge amount of code bloat (unneeded html/css). I would expect a book that size to be about .5MB. For comparison, I am combining all 3 of the Lord of the Rings into a single file and the text only is about 1.5MB.

- the whole point of an ePub is that it is a self contained file… it has everything it needs (text, images, font, styling, etc.) in one location so it can be read anywhere. Think about the individual that is reading the book while on a boat/airplane, or in the mountains, or after a weather induced power outage, and they don’t have Wi-Fi. Trying to read a book like that would cause them to report your book as 'broken'… not to mention just giving them a bad experience.
I would recommend processing the images so that they are the smallest file size you can get while still maintaining clarity. Different file types do much better than others depending on the type of image (.png, .svg, .jpg) are commonly supported.
If you still have a file size that is too large you can consider breaking the file down into smaller sections/divisions/volumes.

- if you really must go down the path of external resources then, assuming the server is maintained forever (domain name/address is maintained) and the data isn’t archived, you can reference an external source with the proper html link. This question has been asked a few times so just try a search of the forum.
The short answer is just to give the proper location of the image in the <a> tag. Here is a quick tutorial on hyperlinks.
Example:
<a alt="mountain scene of lake in valley" src="yourserverdomainname/yourfolder/yourimage.jpg"/>
Turtle91 is offline   Reply With Quote
Advert
Old 01-17-2024, 02:53 PM   #3
Quoth
the rook, bossing Never.
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 11,164
Karma: 85874891
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
Shorter answer.
Never have anything external.

Some ereaders don't have internet/wifi/mobi and some users keep the device in airplane mode.
Also no such thing as always available internet everywhere.

Quote:
The idea is to store the images on a cloud location like Google Drive.
Only works for web sites. A totally broken idea for anything else.
Quoth is offline   Reply With Quote
Old 01-17-2024, 03:09 PM   #4
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,095
Karma: 18727053
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
I’ve also seen people use images for a particular font (re the LotR runes). If that applies to you then I would see about finding, or creating, your own font to replace those images. As with any solution, there are drawbacks to this idea… eg. some devices don’t honor embedded fonts… so check your target device/market to see if that is an option.

Cheers!
Turtle91 is offline   Reply With Quote
Old 01-17-2024, 06:46 PM   #5
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 7,647
Karma: 5433388
Join Date: Nov 2009
Device: many
The epub3 spec does allow external resources with the proper opf manifest properties set but I think that only applies to audio and video resources.

So pre-processing the images to reduce the file sizes without losing clarity should be your first step.
KevinH is online now   Reply With Quote
Advert
Old 01-18-2024, 02:37 PM   #6
pepperop
Junior Member
pepperop began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jan 2024
Device: Pocketbook
@Turtle91 & @KevinH
Thank you for your comment. For me it is clear to invest more time/effort to 'clean-up' the epub itself.
The ebook-text is consuming only 5,7 Mb., the images 65 Mb. So a serious clean-up is essential. First I will check -again- the option to minimize the images instead to look for external partners or methods.
pepperop is offline   Reply With Quote
Old 01-18-2024, 03:32 PM   #7
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 74,015
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by pepperop View Post
@Turtle91 & @KevinH
Thank you for your comment. For me it is clear to invest more time/effort to 'clean-up' the epub itself.
The ebook-text is consuming only 5,7 Mb., the images 65 Mb. So a serious clean-up is essential. First I will check -again- the option to minimize the images instead to look for external partners or methods.
One thing to know. The images should be hi-res. eInk Readers are 300DPI and hi-res. SO if the images are too small, they could be hard to see details. The Kobo Libra 2 is 1264 x 1680 and the Kindle PW5 is 1236 x 1648. Those are two of the more common Readers.
JSWolf is offline   Reply With Quote
Old 01-18-2024, 07:42 PM   #8
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,095
Karma: 18727053
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
What JSWolf mentions is true about the screen size/resolution...Just a little clarification, you are not required to fill the whole screen. Just make sure your images still look good/acceptable with the higher resolution screens. A small (300x500 pixels) image at "72DPI" (although DPI is a printer resolution, not truly a screen resolution) shown on an 8cm wide screen at 300DPI would look incredibly small.

Also, make sure you are testing it on your target devices/readers. If you are not selling on the Kobo or Kindle market then there is no need to cater to their peculiarities. Having said that, you'd be cutting yourself out of a HUGE market share if you didn't sell there!

Cheers,
Turtle91 is offline   Reply With Quote
Old 01-19-2024, 02:58 AM   #9
pepperop
Junior Member
pepperop began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jan 2024
Device: Pocketbook
So the art of 'tuning' is to have hi-res Images. That means that I have to resize most of the pictures (e.g. max. 3x5 cm each). A new challenge! What can be a good and opensource tool to do this job for creating a good result for my book? Is there a 'standard' in the world of ebook creators?
pepperop is offline   Reply With Quote
Old 01-19-2024, 07:03 AM   #10
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,095
Karma: 18727053
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
That’s a rather personal question!!! lol

Seriously though, it pretty much boils down to what you like and are comfortable using. I stay away from ‘online’ programs for security reasons. You lose control of your image the second you upload it… not good if there are any copyright issues.

There are some good open source programs such as GIMP and Inkscape. There are definitely other programs that are more specialized for those limited uses. Others here might have more recommendations. In general though, it boils down to what you have and what you know how to use.

I personally use Photoshop for 95% of the work, and Inkscape for .svg files. Adobe’s prescription model for their entire package of software is useful and not too unreasonably priced.

Edit: I forgot to mention Affinity. It is a VERY reasonably priced software that you can buy without locking yourself into a prescription. Their suite of software is fully featured and very professional.

Last edited by Turtle91; 01-19-2024 at 07:20 AM.
Turtle91 is offline   Reply With Quote
Old 01-19-2024, 12:05 PM   #11
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 7,647
Karma: 5433388
Join Date: Nov 2009
Device: many
One other good tool useful for command line batch image processing is the open source package ImageMajik which runs on all platforms. I often resort to it to batch process tens to hundreds of images in a similar manner. Another useful tool in your arsenal.

And if you are good with python, the PIL package (new fork) can be easily programmed to batch process images as well.
KevinH is online now   Reply With Quote
Old 01-20-2024, 06:39 AM   #12
pepperop
Junior Member
pepperop began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jan 2024
Device: Pocketbook
Thank you all for this college tour. The lesson I learned is to invest more time to 'reorganize' the elements of the book myself instead to search for external tools without knowing if the continuity will be stable in the (near) future.
Hopefully my bookproject can be realized soon ... with your advices!
pepperop is offline   Reply With Quote
Reply

Tags
html code, image attachment, size issues


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
external links to images ; two questions whitespirit Viewer 7 02-26-2021 12:13 PM
Simple Approach to an External Library and Server using 3.14.0 dlfuller Devices 14 09-02-2018 10:43 AM
No external access to Content Server. Help please quoddle Devices 14 05-14-2016 05:35 PM
SVG images, external file versus inline j.p.s ePub 4 07-18-2014 11:30 AM
Touch Sideloading with external cover images possible? user_none Barnes & Noble NOOK 11 06-10-2011 04:46 PM


All times are GMT -4. The time now is 11:32 AM.


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