Apple Multi-Picture Format JPEGs often have 4 extra bytes in the APP0 section. The pattern now skips any extra bytes beyond the fixed APP0 data.
Co-authored-by: Nik <werwolv98@gmail.com>
* repo-wide: trim trailing spaces
Note: This doesn't touch the .tbl files in encodings/ since they include
meaningful trailing spaces (`20= `)
* patterns: clean up duplicate semicolons
* ELF: add header magic check
* glTF: use type::Magic for magic value
* glTF: check that the file size in the header matches
* xgstexture: fix generics syntax for magic value
* JPEG: define hex enum with 0x00 instead of 0X00
* CI: update deprecated actions
---------
Co-authored-by: Nik <werwolv98@gmail.com>
* patterns/jpeg: exclude EOI marker from SOS image data
* patterns/jpeg: use type::Magic for magic numbers
* patterns/jpeg: add RGB component IDs
* patterns/jpeg: add struct for APP14 marker
* patterns/jpeg: add definition for COM marker
* patterns/jpeg: add some format_read() for better legibility
* Added image visualizers to image patterns that were supported
* missing include files
* Small style fixes
---------
Co-authored-by: Nik <werwolv98@gmail.com>