mirror of
https://github.com/python-escpos/python-escpos
synced 2025-09-13 09:09:58 +00:00
add type annotations for escpos image handler (#599)
This commit is contained in:
@@ -174,11 +174,11 @@ class Escpos(object):
|
||||
def image(
|
||||
self,
|
||||
img_source,
|
||||
high_density_vertical=True,
|
||||
high_density_horizontal=True,
|
||||
impl="bitImageRaster",
|
||||
fragment_height=960,
|
||||
center=False,
|
||||
high_density_vertical: bool = True,
|
||||
high_density_horizontal: bool = True,
|
||||
impl: str = "bitImageRaster",
|
||||
fragment_height: int = 960,
|
||||
center: bool = False,
|
||||
) -> None:
|
||||
"""Print an image.
|
||||
|
||||
|
Reference in New Issue
Block a user