mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 18:54:09 -04:00
...
This commit is contained in:
parent
b585b25f51
commit
15b12f66d9
@ -534,7 +534,7 @@ class Style(object):
|
|||||||
return ans
|
return ans
|
||||||
|
|
||||||
def img_size(self, width, height):
|
def img_size(self, width, height):
|
||||||
' Return the final size of an <img> given that it points to an imafe of size widthxheight '
|
' Return the final size of an <img> given that it points to an image of size widthxheight '
|
||||||
return self.img_dimension('width', width), self.img_dimension('height', height)
|
return self.img_dimension('width', width), self.img_dimension('height', height)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
Loading…
x
Reference in New Issue
Block a user