View Single Post
Old 09-24-2011, 01:59 PM   #2
drMerry
Addict
drMerry has become one with the cosmosdrMerry has become one with the cosmosdrMerry has become one with the cosmosdrMerry has become one with the cosmosdrMerry has become one with the cosmosdrMerry has become one with the cosmosdrMerry has become one with the cosmosdrMerry has become one with the cosmosdrMerry has become one with the cosmosdrMerry has become one with the cosmosdrMerry has become one with the cosmos
 
drMerry's Avatar
 
Posts: 293
Karma: 21022
Join Date: Mar 2011
Location: NL
Device: Sony PRS-650
Great idea.

This is what I needed. One thing, it uses the real set height/width.
Is it possible to do it relative?
e.g.
the cover is 200x400
the size is set to 75x100
result: 50x100

EDIT:
I tried to set just one part (so the other wouldn't be touched maybe ).
This is accepted, but when I press ok, I get an error

Spoiler:

calibre, version 0.8.20
ERROR: Unhandled exception: <b>ValueError</b>:invalid literal for int() with base 10: ''

Traceback (most recent call last):
File "calibre_plugins.resize_cover.action", line 113, in show_configuration
File "site-packages\calibre\customize\__init__.py", line 171, in do_user_config
File "calibre_plugins.resize_cover.__init__", line 70, in save_settings
File "calibre_plugins.resize_cover.config", line 192, in save_settings
File "calibre_plugins.resize_cover.config", line 78, in get_data
ValueError: invalid literal for int() with base 10: ''

Last edited by drMerry; 09-24-2011 at 02:01 PM.
drMerry is offline   Reply With Quote