v3: Backport. Fix JPEG SIMD slicing and padding length handling

Merged
JI
6mo ago
+10-8

Prerequisites

  • I have written a descriptive pull-request title
  • I have verified that there are no overlapping pull-requests open
  • I have verified that I am following the existing coding patterns and practice as demonstrated in the repository. These follow strict Stylecop rules :cop:.
  • I have provided test coverage for my change (where applicable)

Description

Backport of #3105 for v3