• Davis King's avatar
    Fixed an endianness bug in the PNG I/O functions which occurred when 16bit · dbc9a815
    Davis King authored
    grayscale PNGs were used.  libpng doesn't automatically convert from host
    endianness to big endian as the PNG standard demands.  You have to explicitly
    tell it to do this or it will write out the 16bit pixel data in host order
    which result in the wrong thing happening on little endian chips.  Similarly
    for reading PNGs.
    dbc9a815
Name
Last commit
Last update
dlib Loading commit data...
docs Loading commit data...
examples Loading commit data...
tools Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
README.txt Loading commit data...