Skip to content

PIL.Image.DecompressionBombError when using --with_texture (ObjTiler) #195

@kurkurzz

Description

@kurkurzz

Steps to Reproduce

  1. Download/Use this model https://github.com/mrdoob/three.js/tree/master/examples/models/obj/male02

  2. Run this command obj-tiler -i male02.obj --output_dir /output --with_texture

I got PIL.Image.DecompressionBombError: Image size (1362099468 pixels) exceeds limit of 178956970 pixels, could be decompression bomb DOS attack. error. I saw some workaround to bypass this by setting PIL.Image.MAX_IMAGE_PIXELS = None but I believe this is a bug (?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions