Skip to content

Image Crop on one Gif results in out of memory error #2848

Open
@RachBreeze

Description

Prerequisites

  • I have written a descriptive issue title
  • I have verified that I am running the latest version of ImageSharp
  • I have verified if the problem exist in both DEBUG and RELEASE mode
  • I have searched open and closed issues to ensure it has not already been reported

ImageSharp version

3.1.6

Other ImageSharp packages and versions

SixLabors.ImageSharp.Web 3.1.3.0 SixLabors.ImageSharp.Web.Providers.Azure 3.1.3.0

Environment (Operating system, version and so on)

Microsoft Azure Web App

.NET Framework version

.net 8

Description

Hello

We have a file that causes an OOM Exception when cropped.

The file is here https://github.com/RachBreeze/ImageSharp.Payloads/blob/main/blob/bluebeam.gif

The crop that causes the issue is width width=850 and height=459.23379174852647

The site is hosted on Azure Web App P0V3

Thank you in advance for all your help

Steps to Reproduce

The image is in an Umbraco 13.5.2 site and is loaded into the website via bluebeam.gif?width=850&height=459.23379174852647

Images

No response

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions