Unlock the Power of Open Source! The " Linux New " SWAYAM Plus Course is live now and about 2,500 learners have already registered for it.

If you are a registered learner, the forum page is now active. Visit the page and get all your questions answered.

File Conversion - English

1196 visits



Outline:

About file conversion such as PDF to audio, JPG to PNG images, PDF to Docx using Python. About PyPDF2, pdfplumber, pyttsx3, pdf2docx, docx2pdf and PIL/Pillow libraries. Steps to open, manipulate, and save images using PIL, focusing on JPG to PNG conversion. Testing and demonstrating the conversion of a JPG image to PNG format. Details on initializing pyttsx3, selecting a PDF, extracting text, and converting it to speech. About espeak package and how to install it. Testing and demonstrating the conversion of a PDF document to an audio file. Play and check the generated audio file. Demonstrating the conversion of a PDF file to a word document using the converter class of the pdf2docx library. Check the converted docx file by editing it.