En

Convert Text to PNG, JPEG, or GIF Image in Python

To make the text read-only, you often need to convert it to a PDF or some image format such as PNG. In a previous article, we demonstrated how to convert the text in a TXT file to a PDF in Python applications. Today, you will learn how to convert a text to a PNG, JPEG, or GIF image programmatically in Python.
May 1, 2022 · 2 min · Usman Aziz

Convert PDF Files to HTML in Python

PDF is a widely used document format that provides cross-platform support. Thus, you can open the PDF files without worrying about the underlying platform. However, in certain cases, you have to convert the PDF files to HTML, for example for embedding them into web pages. In this article, you will learn how to convert a PDF document to an HTML file programmatically in Python.
March 1, 2022 · 2 min · Usman Aziz

Extract Text from Word Documents in C#

Text extraction from Word documents is often performed in different scenarios. For example, to analyze the text, to extract particular sections of a document and combine them into a single document, and so on. In this article, you will learn how to extract text from Word documents programmatically in C#. Moreover, we will cover how to extract content between specific elements such as paragraphs, tables, etc. dynamically.
December 6, 2021 · 6 min · Usman Aziz

Convert a Word Document to EPUB in C#

The EPUB format is used for electronic publications, which are commonly known as ebooks. The EPUB files are supported by a range of smart devices such as smartphones, tablets, laptops, etc. In various cases, the documents are created in MS Word formats that do not often have built-in support on smart devices. Therefore, Word files are converted to EPUB format. In this article, you will learn how to convert Word (DOCX, DOC, etc.) files to EPUB programmatically using C#.
December 1, 2021 · 3 min · Usman Aziz

Extract Images from Word Documents in C#

Images play an important role to illustrate the key information in Word documents. Moreover, they make the document more attractive and improve its presentation. As a programmer, you may get a job to extract the images embedded within the Word DOCX or DOC documents. To achieve that, this article covers how to extract images from Word documents programmatically using C#. Moreover, you will see how to save the extracted images to the desired location.
November 30, 2021 · 3 min · Usman Aziz

Convert TXT Files to PDF in Python

Various people use Notepad to write down important points or create notes quickly in TXT format. Also, TXT files are used to store plain text in various applications. However, since Notepad does not provide advanced features, TXT files are often converted to PDF. In order to automate TXT to PDF conversion programmatically, this article covers how to convert TXT files to PDF format in Python.
November 29, 2021 · 2 min · Usman Aziz

Convert HTML Files to Word Document in Java

In various cases, you may need to convert the HTML content to a Word document. For example, for generating the document from a WYSIWYG HTML editor or converting a web page to DOCX or DOC format. To perform this conversion programmatically, this article covers how to convert HTML files to Word DOCX, DOC, DOCM, or other formats in Java.
November 29, 2021 · 3 min · Usman Aziz

Convert HTML Files to Word Documents in Python

HTML to Word conversion is performed in various cases to convert web pages to DOCX or DOC format. Various applications use WYSIWYG HTML editors to create the documents. In that case, generating Word documents from HTML becomes a useful feature. Considering such scenarios, this article covers how to convert HTML files to Word documents programmatically in Python.
November 26, 2021 · 2 min · Usman Aziz

Extract Text from Word Documents in Python

Text extraction from Word documents is often performed in different scenarios. For example, to analyze the text, to extract particular sections of a document and combine them into a single document, and so on. In this article, you will learn how to extract text from Word documents programmatically in Python. Moreover, we will cover how to extract content between specific elements such as paragraphs, tables, etc. dynamically.
November 25, 2021 · 6 min · Usman Aziz

Work with VBA Macros in Word Documents using Python

Visual Basic for Applications (VBA) is a powerful programming language that lets you automate tasks in Word documents. Moreover, you can perform repetitive tasks with VBA macros quite easily. In this article, you will learn how to work with VBA projects and modules in MS Word documents. Particularly, the article will cover how to create, modify and clone VBA macros programmatically in Python.
November 23, 2021 · 4 min · Usman Aziz