evals
scenario-1
scenario-10
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
A command-line utility that converts PDF documents to high-resolution images suitable for professional printing.
Create a tool that converts PDF files to print-ready image files with professional quality settings. The tool should:
print-ready.pngThe tool should accept two command-line arguments:
Example usage:
node convert.js document.pdf ./outputprint-ready.pngThe program should print the full path to the created file after successful conversion.
Given a PDF file at test-input.pdf and output directory ./test-output, the tool creates a high-resolution image at ./test-output/print-ready.png with 300 DPI resolution @test
Given a PDF file at sample.pdf and output directory ./images, the tool creates a high-resolution image at ./images/print-ready.png with at least 300 DPI resolution @test
Provides PDF to image conversion capabilities.