examples: png_sizeof no longer available (since libpng 1.6)