![]() |
#46 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 129
Karma: 1001024
Join Date: Apr 2010
Location: Cornwall, UK
Device: Various Sony Readers, Kobo Touch Edition, iPhone
|
So the issue in the code is it using KeepAspectRatioByExpanding parameter.
Changing that to KeepAspectRatio fixes the behaviour. Make sure you set your reader screen dimensions (Width and Height) on the plugin. https://doc.qt.io/archives/qtjambi-4...RatioMode.html ![]() Modified plugin attached. Based on the one from post #39 Last edited by BetterRed; 01-28-2020 at 02:32 PM. Reason: remove unofficial version |
![]() |
![]() |
![]() |
#47 |
Enthusiast
![]() Posts: 42
Karma: 10
Join Date: Jan 2015
Device: Kobo Glo
|
I have the same problem as in Post #40. I want the height to be a specific value, but the PI changes the width to the value in the setting. Using the version in #46.
|
![]() |
![]() |
Advert | |
|
![]() |
#48 | |
Enthusiast
![]() Posts: 42
Karma: 10
Join Date: Jan 2015
Device: Kobo Glo
|
Can it be changed so the proportionally resized cover has a fixed height, not width as at the moment?
Thanks Quote:
|
|
![]() |
![]() |
![]() |
#49 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 129
Karma: 1001024
Join Date: Apr 2010
Location: Cornwall, UK
Device: Various Sony Readers, Kobo Touch Edition, iPhone
|
My version of the plugin, attached above, does that already.
If you're not seeing that, please can you give an example image and your current plugin settings. I suspect you have not set the dimensions in the plugin? I have it set to 768x1024 (Sony Reader) and all of my images are 1024 pixels high and various widths. cheers Last edited by gingerbeardman; 09-09-2019 at 06:39 AM. |
![]() |
![]() |
![]() |
#50 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 129
Karma: 1001024
Join Date: Apr 2010
Location: Cornwall, UK
Device: Various Sony Readers, Kobo Touch Edition, iPhone
|
Here is what my version of the plugin (KeepAspectRatio) does with portrait images.
Look only at the KeepAspectRatio column. Last edited by gingerbeardman; 09-09-2019 at 06:40 AM. |
![]() |
![]() |
Advert | |
|
![]() |
#51 |
dangerous when cornered
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,855
Karma: 22891237
Join Date: Dec 2011
Location: USA
Device: Kobo H2O, Kindle Paperwhite
|
I love this plugin but the latest version of calibre removed it for some reason. I reloaded it and while it's listed under my plugins it no longer has the button on my toolbar....? Not sure how to get it back.
|
![]() |
![]() |
![]() |
#52 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,000
Karma: 57259778
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Look at your toolbar. Is there an arrow on the right? ![]() otherwise: Preferences:Toolbars: <select type(s)>:select from left: <optional order> |
|
![]() |
![]() |
![]() |
#53 |
dangerous when cornered
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,855
Karma: 22891237
Join Date: Dec 2011
Location: USA
Device: Kobo H2O, Kindle Paperwhite
|
Second thing did it! Thank you SO much!
Last edited by sparklemotion; 10-17-2019 at 02:01 PM. |
![]() |
![]() |
![]() |
#54 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 20,699
Karma: 26966376
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Keep Aspect Ratio
This is a continuation of this thread ==>> Resizing covers
Firstly a housekeeping problem, I removed the version Narengil uploaded to post #39. I think its labelled version 1.04. If anyone has it could they upload it somewhere and PM me a link, I'd like to restore it until we get this issue resolved. I've had a look at the experimental unofficial versions posted by Narengil and gingerbeardman and IMO none of them is a viable release candidate. They are not explicit as to which dimension has a fixed value and which is to be adjusted to maintain the original aspect ratio. If you leave the one you want adjusted as 0 that configuration will not be saved and no message is issued. IMO what's needed is radio button triplet - fixed size, fixed width, fixed height. I don't know if Qt allows for such a thing in a table column, if not then they can be placed outside the list like the "proportional/non proportional" buttons shown in post #36. BR Last edited by BetterRed; 01-26-2020 at 08:48 PM. |
![]() |
![]() |
![]() |
#55 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 74,703
Karma: 130140792
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Just a quick note, you can resize the cover image with the Calibre editor.
|
![]() |
![]() |
![]() |
#56 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 20,699
Karma: 26966376
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
|
![]() |
![]() |
![]() |
#57 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 74,703
Karma: 130140792
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
![]() |
![]() |
![]() |
#58 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 20,699
Karma: 26966376
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
No and Don't Know
|
![]() |
![]() |
![]() |
#59 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,000
Karma: 57259778
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
I don't care
It does what I want... FAST. |
![]() |
![]() |
![]() |
#60 | |
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:
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Generate Cover | kiwidude | Plugins | 821 | 06-15-2024 11:58 PM |
[GUI Plugin] Goodreads Sync | kiwidude | Plugins | 1752 | 06-14-2024 03:28 AM |
[GUI Plugin] APNX Generator | user_none | Plugins | 93 | 06-12-2024 07:26 AM |
[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 |