pic2map icon indicating copy to clipboard operation
pic2map copied to clipboard

Images bigger than 300'000'000 pixels (old satellite films) not working

Open smaprs opened this issue 3 years ago • 0 comments

Hi, firstly thank you and congrats for this great work of yours. I've been trying to use it with USGS Declassified Spy Satellites images of old films, which doesn't provide camera parameters required for other orthorectifiers, and most above 30'000 x 10'000 pixels (>300'000'000), but didn't worked. Is this an issue with images bigger than the "limit of 178956970 pixels"? Is there a way to deal with such big images? Thank you again, in advance.

QGIS LOG MESSAGE: 2021-03-31T08:47:07 WARNING Traceback (most recent call last): File "C:/Users/Usuario/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Pic2Map\pic2Map.py", line 162, in startSequence self.runGCPMainWindow(False) File "C:/Users/Usuario/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Pic2Map\pic2Map.py", line 285, in runGCPMainWindow self.load_picture(self.picture_name) File "C:/Users/Usuario/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Pic2Map\pic2Map.py", line 348, in load_picture im = Image.open(picName) File "C:\PROGRA~1\QGIS3~1.16\apps\Python37\lib\site-packages\PIL\Image.py", line 2642, in open im = _open_core(fp, filename, prefix) File "C:\PROGRA~1\QGIS3~1.16\apps\Python37\lib\site-packages\PIL\Image.py", line 2633, in _open_core _decompression_bomb_check(im.size) File "C:\PROGRA~1\QGIS3~1.16\apps\Python37\lib\site-packages\PIL\Image.py", line 2568, in _decompression_bomb_check (pixels, 2 * MAX_IMAGE_PIXELS)) PIL.Image.DecompressionBombError: Image size (331816059 pixels) exceeds limit of 178956970 pixels, could be decompression bomb DOS attack.

smaprs avatar Mar 31 '21 12:03 smaprs