Add pdfioImageGetBytesPerLine API, document its use for image streams.

This commit is contained in:
Michael R Sweet
2021-06-04 10:33:39 -04:00
parent 3ec771e688
commit caf398d72c
3 changed files with 70 additions and 4 deletions

View File

@@ -144,6 +144,7 @@ extern pdfio_obj_t *pdfioFileCreateICCProfileObject(pdfio_file_t *pdf, const cha
extern pdfio_obj_t *pdfioFileCreateImageObject(pdfio_file_t *pdf, const char *filename, bool interpolate) PDFIO_PUBLIC;
// Image object helpers...
extern size_t pdfioImageGetBytesPerLine(pdfio_obj_t *obj) PDFIO_PUBLIC;
extern double pdfioImageGetHeight(pdfio_obj_t *obj) PDFIO_PUBLIC;
extern double pdfioImageGetWidth(pdfio_obj_t *obj) PDFIO_PUBLIC;