lvandeve / lodepng

PNG encoder and decoder in C and C++.
zlib License
2.04k stars 420 forks source link

guard file loading functions by LODEPNG_COMPILE_DECODER #106

Closed sezero closed 4 years ago

lvandeve commented 4 years ago

The load_file function is public in the header, and it could be used when encoding, say when loading some other image format and then encoding it to PNG.

I'm for keeping as-is, you can disable the file functions with LODEPNG_NO_COMPILE_DISK already

sezero commented 4 years ago

The load_file function is public in the header, and it could be used when encoding, say when loading some other image format and then encoding it to PNG.

Oh, OK, closing this one then.