Skip to content

QuantizedFrame should use MemoryGroup/Buffer2D internally #1141

@antonfirsov

Description

@antonfirsov

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

Description

Although it's a byte buffer, so we need an XXXXL image to make this fail, but this line is incorrect:

this.pixels = memoryAllocator.AllocateManagedByteBuffer(width * height, AllocationOptions.Clean);

Metadata

Metadata

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