This is what I needed. One thing, it uses the real set height/width.
Is it possible to do it relative?
the cover is 200x400
the size is set to 75x100
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
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: ''