Skip to content

Pages render as black and white only #85

@jsonjunky

Description

@jsonjunky

Hi,
I try to render a page like so:
pix = page.getPixmap(matrix=fitz.Identity, colorspace="RGB") pix.writePNG(key + ".png")
But it comes out only as black and white

I do see this error, but have tried many ways to fix it (Ubuntu 16.04) and have not been able to. Not sure if it is related to this issue, but maybe.
error: jpeg error: Wrong JPEG library version: library is 80, caller expects 90 warning: read error; treating as end of file warning: padding truncated image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions