{
  "id": 445432,
  "title": "Exceeds limit of 178956970 pixels",
  "url": "/competitions/UBC-OCEAN/discussion/445432",
  "author_name": "Muhammad",
  "post_date": "2023-10-06T23:44:22.512000",
  "votes": 4,
  "comment_count": 2,
  "views": 0,
  "content": "<p>I'm facing this below error while reading the image file on scikit  image,</p>\n<p>\"DecompressionBombError: Image size (2080548450 pixels) exceeds limit of 178956970 pixels, could be decompression bomb DOS attack.\"</p>",
  "messages": [
    {
      "id": 2472089,
      "postDate": "2023-10-07T01:34:29.847Z",
      "content": "<p>I ran the following in my notebook to work with large images<br>\n`# Set the maximum image size to 10 billion pixels</p>\n<p>Image.MAX_IMAGE_PIXELS = 10000000000`</p>",
      "rawMarkdown": "I ran the following in my notebook to work with large images\n`# Set the maximum image size to 10 billion pixels\n\nImage.MAX_IMAGE_PIXELS = 10000000000`",
      "votes": 7,
      "replies": [
        {
          "id": 2472717,
          "postDate": "2023-10-07T14:33:14.943Z",
          "content": "<p>thanks, with PIL or scikit image. your command looks to me a PIL method.</p>",
          "rawMarkdown": "thanks, with PIL or scikit image. your command looks to me a PIL method."
        }
      ]
    },
    {
      "id": 2472055,
      "postDate": "2023-10-06T23:44:22.513Z",
      "content": "<p>I'm facing this below error while reading the image file on scikit  image,</p>\n<p>\"DecompressionBombError: Image size (2080548450 pixels) exceeds limit of 178956970 pixels, could be decompression bomb DOS attack.\"</p>",
      "rawMarkdown": "I'm facing this below error while reading the image file on scikit  image,\n\n\"DecompressionBombError: Image size (2080548450 pixels) exceeds limit of 178956970 pixels, could be decompression bomb DOS attack.\"\n\n\n",
      "votes": 4
    }
  ],
  "comments": [
    {
      "id": 2472089,
      "author_name": "Jose Mauricio Delgado",
      "author_url": "",
      "post_date": "2023-10-07T01:34:29.847000",
      "content": "<p>I ran the following in my notebook to work with large images<br>\n`# Set the maximum image size to 10 billion pixels</p>\n<p>Image.MAX_IMAGE_PIXELS = 10000000000`</p>",
      "votes": 7,
      "replies": [
        {
          "id": 2472717,
          "author_name": "Muhammad",
          "author_url": "",
          "post_date": "2023-10-07T14:33:14.943000",
          "content": "<p>thanks, with PIL or scikit image. your command looks to me a PIL method.</p>",
          "votes": 0,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "2472089": "I ran the following in my notebook to work with large images\n`# Set the maximum image size to 10 billion pixels\n\nImage.MAX_IMAGE_PIXELS = 10000000000`",
    "2472055": "I'm facing this below error while reading the image file on scikit  image,\n\n\"DecompressionBombError: Image size (2080548450 pixels) exceeds limit of 178956970 pixels, could be decompression bomb DOS attack.\"\n\n\n"
  }
}