Thomas Hoevel wrote:
doxdici wrote:
But this is a png image, not a compressed file.
PDF files contain PDF images - and those are compressed.
The image can have 4 bits per pixel, or 8 bpp, or 24 bpp, or 1 bpp. They can be direct colour or they can have a colour palette.
There are many different cases that your code has to cover to support all images.
Maybe your code works for some cases, but fails for others.
The screen shot looks like you are not handling the colour palette properly.
The majority result correct if I use 24bpp, but in this case the colour palette results not set (Entries result empty). If I use 24 bpp, the colour palette result set, but the imagines results with white lines, so not correct as before. The minority result uncorrect in anycases. The original image, related to the one posted before, is as attached.
Any suggestion?