I’d like to use PDFTron SDK to traverse PDF file, extract specific images into memory buffer and pass it to OpenCV for further processing (MSVC 2019).
It seems to be simple task using ImageExtractTest sample.
The only problem is saving of decoded image filter to externally allocated memory buffer.
I’ve tried to use direct copy, Image2RGB, Export to Memory based FiterWriter. No success
Could you please provide some c++ example demonstrating this technique?
Thanks a lot
Please provide a link to a minimal sample where the issue is reproducible: