unable to open png's generated by examples
Pictured is the example I ran along with the output and the error message. Chrome is also not able to read the image. I'm actually not able to put any pdf through this example for previewing.
png might be broken. But you can decode it and re-encode it if you need to get it out.
I suspect it needs some headers.
I have a simliar problem with StreamFilter::CCITTFaxDecode. How would I write that reencoding?
@jakob-ledermann I think you can just wrap it with this: https://github.com/pdf-rs/fax/blob/master/src/tiff.rs#L9
@s3bk
Thanks for that information. Somehow I missed it.
Do you want a PR to add exporting StreamFilter::CCITTFaxDecode to the read example?
Yea, that would be an easy fix without modifying the api.