fire-eggs / Danbooru2021

Python scripts and tools for working with the Danbooru2022 data set. Note: this is a sqlite database and a viewer, not directly related to machine learning.
https://www.gwern.net/Danbooru2021
MIT License
42 stars 2 forks source link

Warning on image - issue? #28

Open fire-eggs opened 4 years ago

fire-eggs commented 4 years ago
Warning (from warnings module):
  File "C:\Users\Kevin\AppData\Local\Programs\Python\Python37\lib\site-packages\PIL\Image.py", line 2731
    DecompressionBombWarning,
DecompressionBombWarning: Image size (101814640 pixels) exceeds limit of 89478485 pixels, could be decompression bomb DOS attack.

select image_id from images where user_delete=0 and rating=? and image_id in (select image_id from imageTags where tag_id in (select tag_id from tags where name=?) INTERSECT select image_id from imageTags where tag_id in (select tag_id from tags where name=?) EXCEPT select image_id from imageTags where tag_id in (select tag_id from tags where name=?)) order by image_id ('s', 'maid', 'looking_back', 'touhou')

image: 3250376.jpg [image 772 of 802] image is 8420x12092