valetudo-map-parser 0.1.9b15__py3-none-any.whl → 0.1.9b17__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- valetudo_map_parser/config/utils.py +1 -1
- valetudo_map_parser/hypfer_handler.py +2 -2
- valetudo_map_parser/rand25_handler.py +1 -1
- {valetudo_map_parser-0.1.9b15.dist-info → valetudo_map_parser-0.1.9b17.dist-info}/METADATA +1 -1
- {valetudo_map_parser-0.1.9b15.dist-info → valetudo_map_parser-0.1.9b17.dist-info}/RECORD +8 -8
- {valetudo_map_parser-0.1.9b15.dist-info → valetudo_map_parser-0.1.9b17.dist-info}/LICENSE +0 -0
- {valetudo_map_parser-0.1.9b15.dist-info → valetudo_map_parser-0.1.9b17.dist-info}/NOTICE.txt +0 -0
- {valetudo_map_parser-0.1.9b15.dist-info → valetudo_map_parser-0.1.9b17.dist-info}/WHEEL +0 -0
@@ -58,7 +58,7 @@ class BaseHandler:
|
|
58
58
|
self.offset_y = 0
|
59
59
|
self.crop_area = [0, 0, 0, 0]
|
60
60
|
self.zooming = False
|
61
|
-
self.async_resize_images = async_resize_image
|
61
|
+
self.async_resize_images = async_resize_image
|
62
62
|
|
63
63
|
def get_frame_number(self) -> int:
|
64
64
|
"""Return the frame number of the image."""
|
@@ -249,13 +249,13 @@ class HypferMapImageHandler(BaseHandler):
|
|
249
249
|
if self.check_zoom_and_aspect_ratio():
|
250
250
|
width = self.shared.image_ref_width
|
251
251
|
height = self.shared.image_ref_height
|
252
|
-
resized_image = await self.
|
252
|
+
resized_image = await self.async_resize_images(
|
253
253
|
pil_img=pil_img,
|
254
254
|
width=width,
|
255
255
|
height=height,
|
256
256
|
aspect_ratio=self.shared.image_aspect_ratio,
|
257
257
|
crop_size=self.crop_img_size,
|
258
|
-
offset_func=self.async_map_coordinates_offset
|
258
|
+
offset_func=self.async_map_coordinates_offset,
|
259
259
|
)
|
260
260
|
return resized_image
|
261
261
|
_LOGGER.debug("%s: Frame Completed.", self.file_name)
|
@@ -266,7 +266,7 @@ class ReImageHandler(BaseHandler):
|
|
266
266
|
height=height,
|
267
267
|
aspect_ratio=self.shared.image_aspect_ratio,
|
268
268
|
crop_size=self.crop_img_size,
|
269
|
-
offset_func=self.async_map_coordinates_offset
|
269
|
+
offset_func=self.async_map_coordinates_offset,
|
270
270
|
Rand256=True,
|
271
271
|
)
|
272
272
|
_LOGGER.debug("%s: Frame Completed.", self.file_name)
|
@@ -6,15 +6,15 @@ valetudo_map_parser/config/drawable.py,sha256=hsrEJCMVOrjs5sJfr26SeqJD0VNlYWwxcV
|
|
6
6
|
valetudo_map_parser/config/rand25_parser.py,sha256=fehyF18hRWRWbXbojocQCIaIch21Lbh1wtl2XdKRSl0,16447
|
7
7
|
valetudo_map_parser/config/shared.py,sha256=LQV5K8tbVhEKUkby9ssjEmh_T4Ai-Euzsbag_HWYVRc,9448
|
8
8
|
valetudo_map_parser/config/types.py,sha256=sdjqhcxpRSxNFLVHIyCg-RDL9JIjtQHoR2C2WpocWBc,16107
|
9
|
-
valetudo_map_parser/config/utils.py,sha256=
|
9
|
+
valetudo_map_parser/config/utils.py,sha256=Vm2gkD_t_7qRtnC_LP9sNiTkwLDLcxTU6MhiE6lBuE8,18221
|
10
10
|
valetudo_map_parser/hypfer_draw.py,sha256=s58ak9IBYLjJyoddfDC99PfQ12HTjkSfJYXqCi4vZKs,14931
|
11
|
-
valetudo_map_parser/hypfer_handler.py,sha256=
|
11
|
+
valetudo_map_parser/hypfer_handler.py,sha256=fEc_gMZLA88kgn73nF2wmfjWdbwLl-ip8rvkXBXFoNo,13813
|
12
12
|
valetudo_map_parser/map_data.py,sha256=6FbQfgxFB6E4kcOWokReJOVSekVaE1kStyhTQhAhiOg,19469
|
13
13
|
valetudo_map_parser/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
14
|
-
valetudo_map_parser/rand25_handler.py,sha256=
|
14
|
+
valetudo_map_parser/rand25_handler.py,sha256=fOOkMdV7HkTdXKiqxrPrxOZYkLQgFOy4urpvpQL5AEk,15615
|
15
15
|
valetudo_map_parser/reimg_draw.py,sha256=dtdbYKKxmQnbOaHBHayWEF07OdSnTKo2CPSOW0qpgH0,12506
|
16
|
-
valetudo_map_parser-0.1.
|
17
|
-
valetudo_map_parser-0.1.
|
18
|
-
valetudo_map_parser-0.1.
|
19
|
-
valetudo_map_parser-0.1.
|
20
|
-
valetudo_map_parser-0.1.
|
16
|
+
valetudo_map_parser-0.1.9b17.dist-info/LICENSE,sha256=Lh-qBbuRV0-jiCIBhfV7NgdwFxQFOXH3BKOzK865hRs,10480
|
17
|
+
valetudo_map_parser-0.1.9b17.dist-info/METADATA,sha256=EBdtfZiI-T0DHQCMk4Kob_RRYResYLpaiIMoFzU1g6c,1029
|
18
|
+
valetudo_map_parser-0.1.9b17.dist-info/NOTICE.txt,sha256=5lTOuWiU9aiEnJ2go8sc7lTJ7ntMBx0g0GFnNrswCY4,2533
|
19
|
+
valetudo_map_parser-0.1.9b17.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
|
20
|
+
valetudo_map_parser-0.1.9b17.dist-info/RECORD,,
|
File without changes
|
{valetudo_map_parser-0.1.9b15.dist-info → valetudo_map_parser-0.1.9b17.dist-info}/NOTICE.txt
RENAMED
File without changes
|
File without changes
|