You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is fed to crop, which ultimately returns a new image. Or, tries to, as that's a rather large image.
Any potential fix for #2383 could interact badly with this, as the dispose_extent winds up being the tile extents as well.
Crop should really have the DecompressionBomb warning applied, as it can increase the size of the image. But in this case, we're calling into the core image object crop, not Image.crop, so we'd need to either hoist it to a python level function or call the decompression_bomb_check from the C layer.
Activity
mohanson commentedon Feb 17, 2017
any idea?
wiredfool commentedon Feb 17, 2017
Well, as you've noted, the dispose_extent of frame 90 is rather large:
This is fed to crop, which ultimately returns a new image. Or, tries to, as that's a rather large image.
Any potential fix for #2383 could interact badly with this, as the dispose_extent winds up being the tile extents as well.
Crop should really have the DecompressionBomb warning applied, as it can increase the size of the image. But in this case, we're calling into the core image object crop, not Image.crop, so we'd need to either hoist it to a python level function or call the decompression_bomb_check from the C layer.