Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Editor

Notices

Reply
 
Thread Tools Search this Thread
Old 03-02-2025, 12:09 PM   #1
roncio
Junior Member
roncio began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Feb 2025
Device: Kobo Clara BW
Cover compression doesn't save

I think a found a bug, apparently when you compress the cover.jpg (looseless) and save the edited ebook, and re-edit it again you will see that the cover jpg compression is not saved (it has the same file size, you can even check it if you open the ebook path in explorer)
roncio is offline   Reply With Quote
Old 03-02-2025, 06:38 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,318
Karma: 27111242
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That is because by default all metadata including the cover is updated from the version in the calibre database when you open the editor. You can turn this offf if you prefer in the editor preferences under calibre integration.
kovidgoyal is offline   Reply With Quote
Advert
Old 03-03-2025, 10:12 AM   #3
roncio
Junior Member
roncio began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Feb 2025
Device: Kobo Clara BW
Quote:
Originally Posted by kovidgoyal View Post
That is because by default all metadata including the cover is updated from the version in the calibre database when you open the editor. You can turn this offf if you prefer in the editor preferences under calibre integration.
So that's because the cover image is editable in Calibre (outside the editor) and it restores the "outside" cover image?

All other images inside the ebook in the editor are correctly saves after compression -> that's because you can't mod them in Calibre (outside the editor)?
roncio is offline   Reply With Quote
Old 03-04-2025, 06:56 AM   #4
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,023
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by roncio View Post
So that's because the cover image is editable in Calibre (outside the editor) and it restores the "outside" cover image?

All other images inside the ebook in the editor are correctly saves after compression -> that's because you can't mod them in Calibre (outside the editor)?
Calibre uses the current (Library) Metadata for operations in a few cases.
The Editor allows that feature to be disabled. But if you use one of the other instances like (send to device), It will be done again FOR THE COPY
theducks is offline   Reply With Quote
Old 03-04-2025, 02:32 PM   #5
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,708
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by roncio View Post

All other images inside the ebook in the editor are correctly saves after compression -> that's because you can't mod them in Calibre (outside the editor)?
The File Browser->Open with feature allows you to modify and replace a file using external programs, e.g I have this for images formats:

Click image for larger version

Name:	Screenshot 2025-03-05 062100.jpg
Views:	81
Size:	166.2 KB
ID:	214098

BR
BetterRed is offline   Reply With Quote
Advert
Old 03-08-2025, 10:01 AM   #6
roncio
Junior Member
roncio began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Feb 2025
Device: Kobo Clara BW
Just adding that even Polish books compress is "fake" compressing the cover.jpg: it says it succesfully compressed the cover, but if you "Edit book" the cover.jps is reverted to previous size before the compression.
roncio is offline   Reply With Quote
Old 03-08-2025, 10:16 AM   #7
roncio
Junior Member
roncio began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Feb 2025
Device: Kobo Clara BW
I even tried this, turning it off from the Editor preferences it compress the cover.jpg, but even if i embed the metadata and the cover again, as soon as i turn the option on again it restores the old uncompressed cover.jpg.
Apparently i can't find a way to keep the compressed cover, it's always reverted back
roncio is offline   Reply With Quote
Old 03-09-2025, 10:01 AM   #8
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,472
Karma: 78880114
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
I wonder if you're seeing some interaction with calibre and the Original Epub? I don't recall exactly what creates the Original Epub format and what calibre commands use it rather than the Epub.

Sent from my Pixel 7a using Tapatalk
PeterT is offline   Reply With Quote
Reply

Tags
bug, compression, editor


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cover image compression ownedbycats Calibre 7 01-23-2021 08:41 AM
Lossless cover compression DavidTC Library Management 0 09-20-2016 05:50 PM
Doesn't save changes mrmikel Editor 42 08-19-2014 01:11 AM
doesn't save alansplace Sigil 2 08-18-2011 05:52 PM
Cover Image Compression. Ichi Calibre 3 01-04-2010 06:38 AM


All times are GMT -4. The time now is 10:05 PM.


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