We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85d9b18 commit 9e926f4Copy full SHA for 9e926f4
sketch_map_tool/map_generation/generate_pdf.py
@@ -125,7 +125,8 @@ def generate_pdf( # noqa: C901
125
map_pdf.seek(0)
126
map_frame.seek(0)
127
128
- # Resize map_frame to avoid very large objects in upload processing of e.g. A0 maps
+ # Resize map_frame if a length of 2000 px is exceeded in one dimension to avoid very large objects in upload
129
+ # processing of e.g. A0 maps
130
map_frame = resize_png(map_frame, max_length=2000)
131
132
return map_pdf, map_frame
0 commit comments