PDF Generation Template Editor
Open-source visual PDF generation engine with customizable templates and developer-friendly APIs.
Open-source visual PDF generation engine with customizable templates and developer-friendly APIs.
In the process of converting PDF documents into various formats, ComPDF Conversion SDK offers options to determine whether images are included in the generated document and whether annotations from the PDF file are retained.
In the Ruby SDK, use contain_image and contain_annotation on ConvertOptions.
options = ComPDFKitConversion::ConvertOptions.new
options.contain_image = true
options.contain_annotation = true
options.enable_ai_layout = true
options.enable_ocr = false
result = ComPDFKitConversion::Conversion.start_pdf_to_word(
input_file_path,
"",
output_file_path,
options
)