Edit text extraction: Using PDFTextStream
Separate tasks for text and image extraction