Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book General > General Discussions

Notices

Reply
 
Thread Tools Search this Thread
Old 03-08-2024, 06:33 AM   #2446
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: 79,796
Karma: 146391129
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 John F View Post
Is that a typo? Did you mean to say you do lossy compression?
Not a typo. Once the image is recompressed, it is then losslessly compressed from there.
JSWolf is offline   Reply With Quote
Old 03-08-2024, 07:05 AM   #2447
John F
Grand Sorcerer
John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.
 
Posts: 7,951
Karma: 70880793
Join Date: Feb 2009
Device: Kobo Clara 2E
Quote:
Originally Posted by JSWolf View Post
I use a size of 1680 lines and I keep the aspect ratio correct. and I losslessly recompress the cover with a value of 70%. I don't notice any difference in quality and the cover is smaller but large enough.
Quote:
Originally Posted by JSWolf View Post
Not a typo. Once the image is recompressed, it is then losslessly compressed from there.
I may be a little ignorant on image compression, but doesn't "70%" apply to lossy compression (lossless compression doesn't include a percent). At least that is the way it works when I use the calibre editor to compress (jpeg) images.
John F is offline   Reply With Quote
Advert
Old 03-08-2024, 07:22 AM   #2448
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: 79,796
Karma: 146391129
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 John F View Post
I may be a little ignorant on image compression, but doesn't "70%" apply to lossy compression (lossless compression doesn't include a percent). At least that is the way it works when I use the calibre editor to compress (jpeg) images.
It's both lossy and lossless. Lossy for the recompression with 70% and lossless after that to make the image an even smaller size.
JSWolf is offline   Reply With Quote
Old 03-08-2024, 08:02 AM   #2449
John F
Grand Sorcerer
John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.
 
Posts: 7,951
Karma: 70880793
Join Date: Feb 2009
Device: Kobo Clara 2E
Quote:
Originally Posted by JSWolf View Post
It's both lossy and lossless. Lossy for the recompression with 70% and lossless after that to make the image an even smaller size.
Thank you for the clarification. I'm going to start doing the additional lossless compression.
John F is offline   Reply With Quote
Old 03-08-2024, 11:27 AM   #2450
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: 79,796
Karma: 146391129
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 John F View Post
Thank you for the clarification. I'm going to start doing the additional lossless compression.
Your very welcome. Happy to help.

Just a quick note. I don't notice any difference in the image quality with a 70% compression.
JSWolf is offline   Reply With Quote
Advert
Old 03-08-2024, 11:35 AM   #2451
nabsltd
Fanatic
nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.
 
Posts: 521
Karma: 8500000
Join Date: Aug 2013
Location: Hamden, CT
Device: Kindle Paperwhite (11th gen), Scribe, Kindle 4 Touch
Quote:
Originally Posted by ownedbycats View Post
Yeah, you take care. The photographs that I'm shuddering at have the book at an awkward angle, the picture blurry, and the camera flash on.
At least the awkward angle problem can be fixed with a few choice filters (skew, perspective, etc.). Recently, I've gotten a few good covers from various Calibre metadata sources where that was the only problem.

I just drag a PNG drawing of a grid to the file and make it the top layer. Then, twist and distort until the book sides are aligned and the text isn't sloping. Toss the grid and save.
nabsltd is offline   Reply With Quote
Old 03-08-2024, 12:24 PM   #2452
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,000
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by Aleron Ives View Post
You do know that 640 is less than 1000, right?
As I said, generated covers are just the title and author. So the resolution matters less.
ownedbycats is online now   Reply With Quote
Old 03-08-2024, 01:31 PM   #2453
John F
Grand Sorcerer
John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.
 
Posts: 7,951
Karma: 70880793
Join Date: Feb 2009
Device: Kobo Clara 2E
Quote:
Originally Posted by JSWolf View Post
It's both lossy and lossless. Lossy for the recompression with 70% and lossless after that to make the image an even smaller size.
Quote:
Originally Posted by John F View Post
Thank you for the clarification. I'm going to start doing the additional lossless compression.
I tried it on a couple of ebooks, and I'm seeing some interesting behaviour using the calibre editor.

I do a lossy compression and then a lossless compression in the same editing session, and the lossless compression says it couldn't compress any further. and I exit.

After that, every time I do another lossless compression, it reports it is able to compress the cover image for the same amount (this is doing a compression and then exiting (and saving)).
John F is offline   Reply With Quote
Old 03-08-2024, 01:47 PM   #2454
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,000
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Yeah, I'm a bit baffled by all this. Compressing an already-compressed file usually not do much, or even sometimes paradoxically makes the file bigger.

Last edited by ownedbycats; 03-08-2024 at 03:23 PM.
ownedbycats is online now   Reply With Quote
Old 03-08-2024, 03:28 PM   #2455
John F
Grand Sorcerer
John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.
 
Posts: 7,951
Karma: 70880793
Join Date: Feb 2009
Device: Kobo Clara 2E
Quote:
Originally Posted by ownedbycats View Post
Yeah, I'm a bit baffled by all this. Compressing an already-compressed file usually not do much, or even sometimes paradoxically makes the file bigger.
I don't know much about calibre, but my WAG is that when you start editing, calibre replaces the cover image in epub file with calibre's cover image.
John F is offline   Reply With Quote
Old 03-08-2024, 04:41 PM   #2456
j.p.s
Grand Sorcerer
j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.
 
Posts: 5,793
Karma: 103362673
Join Date: Apr 2011
Device: pb360
Quote:
Originally Posted by ownedbycats View Post
Yeah, I'm a bit baffled by all this. Compressing an already-compressed file usually not do much, or even sometimes paradoxically makes the file bigger.
Various JPEG optimization applications use more efficient representations of the encoding tables and better encoding types. The actual compressed image data does not change but the total file size does. JPEG images often contain metadata, comments, and other extraneous information. Removing some or all of that also reduces file size.
https://en.wikipedia.org/wiki/Jpegtran

Decompressing lossily compressed data then lossily recompressing it will result in additional loss from the original data.

Compression algorithms usually make assumptions about the nature of the uncompressed data. It is not unusual for file size to increase when there is not a good match between the assumptions and the actual data. Examples different algorithms being better for different data types are JPEG for photographs and PNG for regions of same color and simple line drawings.

Compressing is an exercise in reducing redundancy. (Nothing compresses better than all zeros.) Well compressed data has little or no redundancy, so the overhead of describing the compressed data increases the file size when trying compress already compressed data. (Try compressing random noise.)

Using general purpose compression on specially compressed data can result in a smaller file than either method used alone. For example, zipping a JPEG made from a BMP might be significantly smaller than a zip of the BMP.
j.p.s is online now   Reply With Quote
Old 03-08-2024, 04:49 PM   #2457
Aleron Ives
Wizard
Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.
 
Posts: 1,689
Karma: 16307824
Join Date: Sep 2022
Device: Kobo Libra 2
Quote:
Originally Posted by John F View Post
I do a lossy compression and then a lossless compression in the same editing session, and the lossless compression says it couldn't compress any further. and I exit.
What image format(s) are you using? JPEG already has both lossy and lossless compression: the final lossless phase is based on Huffman coding and tries to optimise the remaining data after lossy compression is complete.
Aleron Ives is offline   Reply With Quote
Old 03-09-2024, 05:10 AM   #2458
Quoth
Still reading
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: 14,130
Karma: 105211945
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
Quote:
Originally Posted by John F View Post
I don't know much about calibre, but my WAG is that when you start editing, calibre replaces the cover image in epub file with calibre's cover image.
I'm sure that's a setting. Also you can use the image in the file as the Calibre setting.

In general, resize then compress (by the saving process unless the format is truly loss-less).
Quoth is offline   Reply With Quote
Old 03-15-2024, 12:18 AM   #2459
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,000
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
When reading multiple books at a time, mixing up the plots and characters and forgetting which book I'm in.

I mostly prevent this by making sure the books I read are different enough from each other but sometimes my brain still gets slippy.
ownedbycats is online now   Reply With Quote
Old 03-15-2024, 12:55 PM   #2460
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: 79,796
Karma: 146391129
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 ownedbycats View Post
When reading multiple books at a time, mixing up the plots and characters and forgetting which book I'm in.

I mostly prevent this by making sure the books I read are different enough from each other but sometimes my brain still gets slippy.
On a similar vein, reading a book and then deciding to go for another and not getting back to the first book because you want to finish the second book.
JSWolf is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
The Vent and Rant Thread TadW Lounge 38320 Today 12:08 PM
The Technology Vent and Rant Thread pdurrant Lounge 2998 Yesterday 04:44 PM
Query about moderation in the Vent & Rant Thread. Hitch Feedback 14 07-16-2016 05:05 PM
Seriously thoughtful why did the vent and rant thread get moved? kindlekitten Lounge 10 04-05-2011 04:47 PM


All times are GMT -4. The time now is 01:53 PM.


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