Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 08-30-2013, 02:09 PM   #31
kiwidude
calibre/Sigil Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,236
Karma: 1345754
Join Date: Oct 2010
Location: London, UK
Device: Kindle Paperwhite 3G, iPad 3, iPad Air
v1.0.1 Released

Changes in this release:
  • Updated to ensure refreshes main grid for new cover view feature in Calibre.

Thanks Kovid for the steer for the fix and vallema for the bug report.
kiwidude is offline   Reply With Quote
Old 09-30-2013, 09:31 PM   #32
slobberchopz
Obsessive Compulsive?
slobberchopz is on a distinguished road
 
Posts: 4
Karma: 54
Join Date: Feb 2012
Device: Kindle Keyboard
Great work and very useful tool.

I glanced at the code, and I think it might be faster & preserve image quality if it checks and doesn't resize those that are already the correct size. Otherwise it may attempt smoothing etc, but I really don't know for sure.
slobberchopz is offline   Reply With Quote
 
Advertisement
Old 01-23-2014, 02:45 PM   #33
fidvo
Zealot
fidvo ought to be getting tired of karma fortunes by now.fidvo ought to be getting tired of karma fortunes by now.fidvo ought to be getting tired of karma fortunes by now.fidvo ought to be getting tired of karma fortunes by now.fidvo ought to be getting tired of karma fortunes by now.fidvo ought to be getting tired of karma fortunes by now.fidvo ought to be getting tired of karma fortunes by now.fidvo ought to be getting tired of karma fortunes by now.fidvo ought to be getting tired of karma fortunes by now.fidvo ought to be getting tired of karma fortunes by now.fidvo ought to be getting tired of karma fortunes by now.
 
Posts: 130
Karma: 775442
Join Date: Jun 2012
Device: none
Sorry to resurrect this thread, but I'm looking for a way to automatically maintain the aspect ratio when resizing the cover. Is that possible with this plugin?

If not, I might try my hand at modifying the plugin myself. Would anyone else be interested in this feature?
fidvo is offline   Reply With Quote
Old 07-13-2014, 07:14 AM   #34
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 6,936
Karma: 6907148
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo: Touch, Glo, Aura H2O, Glo HD
Beta for calibre change to Qt5

FYI, I am not kiwidude and this isn't my plugin. But I am trying to help out by porting some of the plugins I use regularly while kiwidude is busy.

Attached is a test version that should work for both the existing 1.X calibre and the upcoming 2.X version calibre. 2.x will use PyQt5 which requires changes to virtually all plugins. This version of the plugin has version number 1.201.0.

This version needs to be tested with the existing calibre.

Brave souls to test with with the beta 2.X version would also be appreciated. Links to the 2.X beta and discussion of the transition (for plugins) can be see at: Attn plugin developers: calibre moving to Qt 5.
Attached Files
File Type: zip Resize Cover-qt5.zip (31.6 KB, 51 views)
davidfor is offline   Reply With Quote
Old 07-13-2014, 07:15 PM   #35
BetterRed
null operator
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: 4,825
Karma: 3626537
Join Date: Mar 2012
Location: NSW Australia
Device: none
@davidfor - working fine for V1.201 portable and V1.44 64 bit

BR
BetterRed is offline   Reply With Quote
Old 01-11-2015, 05:30 AM   #36
Narengil
Junior Member
Narengil began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jan 2015
Device: Nexus 7
Mofied version with (optional) proportional scaling

Hi, I've modified the plugin to enable an optional proportional scaling of the cover.

There are two buttons to set an entry to scale "proportional" or "non proportional". The default setting is "non proportional". In proportional mode the cover will be scaled that the width and height will be at least the defined sizes.

The saved config should be compatible with the original plugin, so you could switch the plugins easily.

Since I have no experience with Python I've copy and pasted the code as good as I could

Any response, expecially if there are any problems would be appreciated.
Attached Thumbnails
Click image for larger version

Name:	dropdown.png
Views:	41
Size:	6.5 KB
ID:	133639   Click image for larger version

Name:	dialog.png
Views:	41
Size:	25.6 KB
ID:	133640  
Attached Files
File Type: zip Resize Cover.zip (32.1 KB, 17 views)
Narengil is offline   Reply With Quote
Old 01-11-2015, 11:36 AM   #37
theducks
Grand Sorcerer
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: 16,200
Karma: 6613832
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Astak Pocket Pro, K4NT,Galaxy Tab 2
Quote:
Originally Posted by Narengil View Post
Hi, I've modified the plugin to enable an optional proportional scaling of the cover.

There are two buttons to set an entry to scale "proportional" or "non proportional". The default setting is "non proportional". In proportional mode the cover will be scaled that the width and height will be at least the defined sizes.

The saved config should be compatible with the original plugin, so you could switch the plugins easily.

Since I have no experience with Python I've copy and pasted the code as good as I could

Any response, expecially if there are any problems would be appreciated.
Shouldn't the label use: Maintain Aspect instead of 'proportional'?

or
The Column: 'Aspect Maintained'
Values: No, Yes
theducks is offline   Reply With Quote
Old 01-11-2015, 03:40 PM   #38
BetterRed
null operator
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: 4,825
Karma: 3626537
Join Date: Mar 2012
Location: NSW Australia
Device: none
Quote:
Originally Posted by Narengil View Post
Hi, I've modified the plugin to enable an optional proportional scaling of the cover.

There are two buttons to set an entry to scale "proportional" or "non proportional". The default setting is "non proportional". In proportional mode the cover will be scaled that the width and height will be at least the defined sizes.

The saved config should be compatible with the original plugin, so you could switch the plugins easily.

Since I have no experience with Python I've copy and pasted the code as good as I could

Any response, expecially if there are any problems would be appreciated.
Well done! Works for me

I have some 'landscape' covers that are handled nicely with your update -

@other testers - you to do a calibre restart to load the revised PI after installing it - PI's are loaded when calibre starts.

Quote:
Originally Posted by theducks View Post
Shouldn't the label use: Maintain Aspect instead of 'proportional'?

or
The Column: 'Aspect Maintained'
Values: No, Yes
- although 'proportional' is sometimes used in this context. In my screen shot the one on the right is from Irfanview - could be a translation 'thing', IV comes from a Bosnian living in Austria.

@Narengil the word 'proportional' has a particular significance in the context of books, it refers to fonts and other typographical issues. So in this context - 'Preserve/Keep/Maintain Aspect Ratio' would be a better.

BR
Attached Thumbnails
Click image for larger version

Name:	Capture.JPG
Views:	40
Size:	85.0 KB
ID:	133662  
BetterRed is offline   Reply With Quote
Old 01-12-2015, 02:25 PM   #39
Narengil
Junior Member
Narengil began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jan 2015
Device: Nexus 7
Thanks for the response.

You were right. It is better to use the term "Keep aspect ratio". I modified the plugin in that way.
Attached Thumbnails
Click image for larger version

Name:	dialog.png
Views:	44
Size:	24.2 KB
ID:	133705   Click image for larger version

Name:	dropdown.png
Views:	38
Size:	6.1 KB
ID:	133706  
Attached Files
File Type: zip Resize Cover.zip (32.0 KB, 36 views)
Narengil is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Open With kiwidude Plugins 264 05-03-2015 09:56 PM
[GUI Plugin] Goodreads Sync kiwidude Plugins 718 04-22-2015 09:54 PM
[GUI Plugin] Generate Cover kiwidude Plugins 529 04-13-2015 06:30 PM
[GUI Plugin] APNX Generator user_none Plugins 85 10-12-2014 12:54 AM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 12:27 PM


All times are GMT -4. The time now is 11:24 AM.


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