• J
    Simplified API: write-to-memory, overflow handling · 175a126a
    John Bowler 提交于
    This implements an API and provides a number of assist macros to allow an
    application which uses the simplified API write to bypass stdio and write
    directly to memory.
    
    It also includes some warnings (png.h) and some check code to detect *possible*
    overflow in the ROW_STRIDE and simplified image SIZE macros.  This disallows
    image width/height/format that *might* overflow.  A quiet API change that limits
    in-memory image size (uncompressed) to less that 4GByte and image row size
    (stride) to less than 2GByte.
    Signed-off-by: NJohn Bowler <jbowler@acm.org>
    175a126a
symbols.def 6.3 KB