Module dlib.image.io.png
Decode and encode PNG/APNG images
Functions
Name | Description |
---|---|
loadAPNG(filename)
|
Load animated PNG (APNG) from file using local FileSystem. Causes GC allocation |
loadAPNG(istrm)
|
Load animated PNG (APNG) from stream using default animated image factory. Causes GC allocation |
loadAPNG(istrm, imgFac)
|
Load animated PNG (APNG) from stream using specified image factory. GC-free |
loadPNG(filename)
|
Load PNG from file using local FileSystem. Causes GC allocation |
loadPNG(istrm)
|
Load PNG from stream using default image factory. Causes GC allocation |
loadPNG(istrm, imgFac)
|
Load PNG from stream using specified image factory. GC-free |
saveAPNG(img, filename)
|
Save APNG to file using local FileSystem. Causes GC allocation |
saveAPNG(img, output)
|
Save APNG to stream. GC-free |
savePNG(img, filename)
|
Save PNG to file using local FileSystem. Causes GC allocation |
savePNG(img, output)
|
Save PNG to stream. GC-free |