diff --git a/fitz/fitz.i b/fitz/fitz.i index 2c9d1628a..ba737eb4c 100644 --- a/fitz/fitz.i +++ b/fitz/fitz.i @@ -2863,7 +2863,9 @@ if len(pyliste) == 0 or min(pyliste) not in range(len(self)) or max(pyliste) not res = NULL; img = pdf_load_image(gctx, pdf, obj); cbuf = fz_compressed_image_buffer(gctx, img); - if (cbuf && cbuf->params.type != FZ_IMAGE_RAW && + if (cbuf && + cbuf->params.type != FZ_IMAGE_RAW && + cbuf->params.type != FZ_IMAGE_FAX && cbuf->params.type != FZ_IMAGE_FLATE && cbuf->params.type != FZ_IMAGE_LZW && cbuf->params.type != FZ_IMAGE_RLD) {