Added constants XS. Because the number values of these enums may change later. Also haven't testhaven't tested this but it may be faster. WIP #2
Added all the pixel formats enum. Might have to move them later. WIP #2