01-26-2020, 11:48 PM | #61 | |
Grand Sorcerer
Posts: 24,906
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
And this is different from the compression in the editor. That only changes the copy in the book, not the copy in the library. If you want to do a bulk compress of the images in the books, use the Polish Books tool. |
|
01-27-2020, 02:22 AM | #62 | |
null operator (he/him)
Posts: 20,686
Karma: 26966376
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
BR Last edited by BetterRed; 01-27-2020 at 02:25 AM. |
|
01-27-2020, 02:47 AM | #63 |
Grand Sorcerer
Posts: 24,906
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
No. I think that @gingerbeardman version is more correct. I hadn't noticed the difference in how the two did the resize (KeepAspectRatio vs KeepAspectRatioByExpanding - I prefer the former). I also prefer the way it does the configuration.
|
01-27-2020, 06:40 AM | #64 | |
null operator (he/him)
Posts: 20,686
Karma: 26966376
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
What about converting to Py3, should that be done now or later? BR Last edited by BetterRed; 01-27-2020 at 10:18 AM. |
|
01-27-2020, 10:29 AM | #65 |
null operator (he/him)
Posts: 20,686
Karma: 26966376
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
|
01-28-2020, 07:12 AM | #66 | |
Grand Sorcerer
Posts: 24,906
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
There are three main changes in this:
As I stated above, I preferred the checkbox method of @gingerbeardman. There are other changes in the code from both versions as I cleaned some things up. I did the translation as it is fairly easy and there aren't that many strings in the interface. The attached file "default.po.txt" should be renamed to "default.po" and used for the translations. I recommend using a tool such as POEdit to do the editing. If anyone does, please post the translated .po file or PM it to me. The changes for Python 3 were probably the quickest I have seen for any plugin so far. If anyone sees a problem, please report it here. @BR: Give this a few days of testing before release. And in case we get a translation. I have set the version to1.0.6 but would change it to 1.1.0 before releasing. Last edited by BetterRed; 09-20-2020 at 04:43 PM. Reason: Remove attachments - now in the release |
|
01-28-2020, 11:16 AM | #67 |
Guru
Posts: 704
Karma: 2180740
Join Date: Jan 2017
Location: Poland
Device: Misc
|
|
01-28-2020, 02:30 PM | #68 | |
null operator (he/him)
Posts: 20,686
Karma: 26966376
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Had same thought on the version number. I've removed the old unnofficial versions BR Last edited by BetterRed; 01-28-2020 at 02:35 PM. |
|
01-28-2020, 06:52 PM | #69 |
Grand Sorcerer
Posts: 24,906
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
That seems to suggest that the values in the configuration file are not being seen as numbers. Could you post the plugins config file? This will be "Resize Cover.json" in the plugins directory of the calibre configuration directory.
|
01-28-2020, 07:36 PM | #70 | |
Guru
Posts: 704
Karma: 2180740
Join Date: Jan 2017
Location: Poland
Device: Misc
|
Quote:
Spoiler:
I also noticed after running calibre-debug -g Spoiler:
EDIT1: The latter error occurs if you delete the .json file completely. EDIT2: Additional information: Even if the plug-in starts, creating a new item menu always creates a "Default" item. Last edited by BeckyEbook; 01-28-2020 at 07:45 PM. Reason: The reason for the error |
|
01-28-2020, 08:39 PM | #71 |
Grand Sorcerer
Posts: 24,906
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Can we pretend that version didn't exist? I made a really dumb change to the configuration. That flowed through to everything. The attached beta fixes this.
Last edited by BetterRed; 09-20-2020 at 04:44 PM. Reason: Remove beta attachments - now in the release |
01-29-2020, 06:59 AM | #72 |
Grand Sorcerer
Posts: 24,906
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Here is yet another beta. This time with two contributions from @BeckyEbook. These are:
There is one other change to the alignment of the numbers in the configuration dialog. That they were left aligned bugged me each time I looked at it. Hopefully this is the last beta. Last edited by BetterRed; 09-20-2020 at 04:44 PM. Reason: Remove attachments - now in the release |
05-11-2020, 05:22 PM | #73 |
Connoisseur
Posts: 66
Karma: 10
Join Date: Jul 2012
Device: Android, kindle
|
Another Request
I removed the older version because when I set a Width and Height and keep aspect ratio it always assumes the Width and sets the Height to the calculated value to maintain aspect ratio.
What I would really like is to be able to keep the Height I set and have the plugin change the Width to keep the aspect ratio. Is this doable? Could there be an option available to select which would be constant the height of the width. PapaKilo. |
09-20-2020, 09:25 AM | #74 |
Grand Sorcerer
Posts: 24,906
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Update to version 1.1.0
Version 1.1.0 of the plugin has been released. This has support fo the upcoming calibre version 5. Plus changes in the "recent" betas.
The changes in this version are:
Calibre will announce the availability of the update. If there are any issues, please report them here. |
10-21-2020, 12:57 AM | #75 | |
Enthusiast
Posts: 42
Karma: 10
Join Date: Jan 2015
Device: Kobo Glo
|
Quote:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Goodreads Sync | kiwidude | Plugins | 1752 | Today 03:28 AM |
[GUI Plugin] APNX Generator | user_none | Plugins | 93 | 06-12-2024 07:26 AM |
[GUI Plugin] Generate Cover | kiwidude | Plugins | 818 | 06-05-2024 05:11 PM |
[GUI Plugin] Open With | kiwidude | Plugins | 403 | 04-01-2024 08:39 AM |
[GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 12:27 PM |