11-14-2017, 09:19 AM | #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 |
08-10-2019, 06:25 AM | #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 | |
|
09-09-2019, 04:49 AM | #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:
|
|
09-09-2019, 05:51 AM | #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. |
09-09-2019, 06:29 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 | |
|
10-17-2019, 12:22 PM | #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.
|
10-17-2019, 01:08 PM | #52 | |
Well trained by Cats
Posts: 29,801
Karma: 54830978
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? (it got crowded off ) otherwise: Preferences:Toolbars: <select type(s)>:select from left: <optional order> |
|
10-17-2019, 01:59 PM | #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. |
01-26-2020, 03:42 PM | #54 |
null operator (he/him)
Posts: 20,568
Karma: 26954694
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. |
01-26-2020, 04:54 PM | #55 |
Resident Curmudgeon
Posts: 73,974
Karma: 128903378
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.
|
01-26-2020, 04:58 PM | #56 |
null operator (he/him)
Posts: 20,568
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
|
01-26-2020, 05:02 PM | #57 |
Resident Curmudgeon
Posts: 73,974
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
01-26-2020, 05:24 PM | #58 |
null operator (he/him)
Posts: 20,568
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
No and Don't Know
|
01-26-2020, 08:30 PM | #59 |
Well trained by Cats
Posts: 29,801
Karma: 54830978
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. |
01-26-2020, 11:23 PM | #60 | |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Goodreads Sync | kiwidude | Plugins | 1721 | 04-18-2024 10:22 AM |
[GUI Plugin] Open With | kiwidude | Plugins | 403 | 04-01-2024 08:39 AM |
[GUI Plugin] Generate Cover | kiwidude | Plugins | 811 | 03-16-2024 11:31 PM |
[GUI Plugin] APNX Generator | user_none | Plugins | 92 | 10-25-2020 01:24 PM |
[GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 12:27 PM |