Sanjays2402 7fea6c79a4 fix: stop Parse QR Code from participating in Magic (#2610)
Parse QR Code declared a `checks` regex that matched any JPEG, PNG,
GIF, WEBP or BMP magic bytes. Magic aggregates every operation with a
`checks` property and runs them, so any image input triggered a full
QR parse attempt that produced a 'Could not read a QR code from the
image' warning in the browser console for every image, even when no QR
code was present.

There is no cheap way to detect a QR code without attempting a full
parse, so Parse QR Code should not participate in Magic. Users can add
it manually when they know the image contains a QR code.

Adds a regression test asserting Parse QR Code declares no `checks`.
2026-06-27 06:32:12 -07:00
..
2019-01-04 16:31:06 +00:00