pngcrush  1.8.13
About: Pngcrush is an optimizer for PNG (Portable Network Graphics) files.
  Fossies Dox: pngcrush-1.8.13.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

compress.c File Reference
#include "zlib.h"
Include dependency graph for compress.c:

Go to the source code of this file.




int compress2 (Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen, int level)
int compress (Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen)
uLong compressBound (uLong sourceLen)

Macro Definition Documentation



Definition at line 8 of file compress.c.

Function Documentation

◆ compress()

int compress ( Bytef dest,
uLongf destLen,
const Bytef source,
uLong  sourceLen 

Definition at line 68 of file compress.c.

References compress2(), and Z_DEFAULT_COMPRESSION.

◆ compress2()

◆ compressBound()

uLong compressBound ( uLong  sourceLen)

Definition at line 81 of file compress.c.