Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old Today, 06:03 AM   #1
galax
Member
galax began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Sep 2023
Device: none
Post png or base64 for speed rendering?

Greets,

There are too many options for image formats.

Recently I thought about base64 format to use for my images. My idea is for the ereader to reduce its decoding to the max in order to save battery.

The appeal of base64 is two-fold, first it's can be compressed in text format, secondly somehow text seems to take less cpu cycles to process.

The images are monochrome, not even in grey scale, so the content is ideal for good compression algorithm/format.

Has anyone experimented with base64 images on epubs?

Thanks.
galax is offline   Reply With Quote
Old Today, 06:18 AM   #2
estral
Just trying to survive
estral doesn't litterestral doesn't litterestral doesn't litter
 
Posts: 66
Karma: 210
Join Date: Mar 2009
Device: Nexus 7 2013, Galaxy Note 10.1 2014
I've used base64 for embedding images in epubs before, and it worked pretty well for me. Since your images are monochrome, you should get decent compression. Just keep in mind that while base64 can save on decoding time, it might increase the overall file size compared to standard image formats. It’s worth experimenting to see if the battery savings balance out with the file size trade-off.
estral is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
txt.png not rendering ownedbycats Library Management 3 07-23-2022 04:46 AM
calibre_bookmarks encoding=json/base64 leopoldotosi Editor 1 08-18-2020 07:22 AM
Sony Reader for PC -- not rendering 16-color png GrannyGrump Workshop 27 10-16-2013 03:25 PM
Quality/speed of scanned PDF/DjVu rendering? mSSM PocketBook 2 08-21-2010 12:44 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 08:27 AM.


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