Looks like first 3 bytes of JPG image can be treated as signature, not 4.

This commit is contained in:
MaxED 2013-04-12 11:06:57 +00:00
parent a150931bb2
commit 4fe2676e11
2 changed files with 2 additions and 2 deletions

View file

@ -36,7 +36,7 @@ namespace CodeImp.DoomBuilder.Data
private static readonly int[] GIF_SIGNATURE = new int[] { 71, 73, 70 };
private static readonly int[] BMP_SIGNATURE = new int[] { 66, 77 };
private static readonly int[] DDS_SIGNATURE = new int[] { 68, 68, 83, 32 };
private static readonly int[] JPG_SIGNATURE = new int[] { 255, 216, 255, 224 }; //mxd
private static readonly int[] JPG_SIGNATURE = new int[] { 255, 216, 255 }; //mxd
private static readonly int[] TGA_SIGNATURE = new int[] { 0, 0, 2, 0 }; //mxd
private static readonly int[] PCX_SIGNATURE = new int[] { 10, 5, 1, 8 }; //mxd