Re: Inconsistent endianness in differing bitmap depths

Alexei Podtelezhnikov <[email protected]> Sat, 29 Jul 2023 23:20:24 -0400
Newsgroups gmane.comp.fonts.freetype.user
Message-ID <CAJU=AjX7SRyiYXKVsrHrrfqZnB42DRb16dp6V-Mg1MRvVzTWjg@mail.gmail.com>
> When using mono mode, the bitmap is rendered in big endian format where the
> most significant bit is the leftmost pixel, while in default mode the
> bitmap is rendered in little endian, consistent with my cpu.

This is documented
https://freetype.org/freetype2/docs/reference/ft2-basic_types.html#ft_pixel_mode_mono
No major gray or color image format specifies its bit endianness, as
far as I know, neither does FreeType.

A.