None value for PNG filters
omkar-mohanty opened this issue · comments
Omkar Mohanty commented
While executing the read.rs example, I tried to extract images from a pdf with PNG images in it. The raw_image_data
function returned None
for filter , but shouldn't the correct returned filter be a FlateDecode
?
Sebastian commented
Omkar Mohanty commented
Sure 👍 . I had a question though does using the raw_image_data
on a PNG image return the IDAT chunk?
Sebastian commented
I don't think so. So you may have to do some reconstruction, and possibly add a as_png method that does this.