Prerequisites
Description
There's a few places in the code base (most notably png and gif formats) where I've incorrectly used enum.Equals(object). We should remove the boxing allocation by using enum == enum instead.
- ImageSharp version:
- Other ImageSharp packages and versions: 1.0.0-Beta6
Prerequisites
DEBUGandRELEASEmodeDescription
There's a few places in the code base (most notably png and gif formats) where I've incorrectly used
enum.Equals(object). We should remove the boxing allocation by usingenum == enuminstead.