The current version includes file extension validation, which serves as a foundational security measure. Signature and ending type validation for PNG images. Count validation of the occurrence of each ...
This is possible because memory is much cheaper now than when the PNG format was first released, but correctness and security vulnerabilities became bigger concerns. The included in-memory image ...