Author Archives: Usman Aziz

Extract Images from Word Documents in Python

A picture is worth a thousand words. This is the reason images are an integral part of documents, specifically Word documents. The images are used to make the content more attractive and eye-catching. When parsing Word documents, you may come across the scenario where you need to extract images. To achieve this programmatically, this article covers how to extract images from Word documents in Python.

Posted in Aspose.Words Product Family | Tagged , , ,

Convert a Word Document to EPUB in Python

EPUB is a popular format that is used for electronic publications known as ebooks. The EPUB files can be read on smartphones, tablets, laptops, etc. In various cases, MS Word files are converted to EPUB to make the document available on multiple reader platforms. To accomplish this conversion programmatically, this article covers how to convert Word DOCX or DOC files to EPUB using Python.

Posted in Aspose.Words Product Family | Tagged , , ,

Split a Word Document into Multiple Files in Python

In certain cases, you need to split the large Word documents by breaking them down into smaller ones. You can split a Word document by pages, sections, or columns. In this article, you will learn how to split a Word document into multiple files using Python. The step-by-step guide and code samples will demonstrate how to split a Word document by sections, pages, or page ranges programmatically.

Posted in Aspose.Words Product Family | Tagged , , , ,

Copy Content of a Word Document to Another using Python

In various cases, you may need to copy the content of a Word document to another. Also, you may need to create a clone of the original Word document. To automate these operations, this article covers how to copy the content from one Word document to another in Python. Moreover, you will learn how to create a copy of the Word documents programmatically.

Posted in Aspose.Words Product Family | Tagged , ,

Automate MS Word Mail Merge in Python

MS Word mail merge is a popular feature that allows you to create letters, invoices, envelopes, reports, etc. Using mail merge, you can create a template and populate it with the data. As a result, a document is generated for each entry in the data source. To automate this feature, this article covers how to perform MS Word mail merge using Python. You will learn how to create a mail merge template from scratch and populate it programmatically.

Posted in Aspose.Words Product Family | Tagged , ,

Unprotect Word Documents in Python

In various cases, the Word documents are protected with a password before they are shared. On receiving the protected documents, you need to unlock them to access their content. To perform the unlocking programmatically, this article covers how to unprotect a password-protected Word document using Python. Moreover, we will cover how to remove restrictions applied to a Word document dynamically.

Posted in Aspose.Words Product Family | Tagged , ,

Protect Word Documents using Python

The information stored in Word documents is always prone to be accessed illegally. To avoid unauthorized access and forging while transmitting the documents, a protection mechanism must be applied. In this article, you will learn how to protect Word documents with a password in Python. Moreover, the article will cover how to apply different protection types to a Word document dynamically.

Posted in Aspose.Words Product Family | Tagged , , , ,

Convert PNG Images to JPG in Java

In various scenarios, you may need to reduce size of the PNG images. In such cases, PNG to JPG conversion is commonly practiced. To automate this conversion from within the Java applications, this article shows how to convert a PNG image to JPG programmatically in Java.

Posted in Aspose.Imaging Product Family | Tagged , ,

Convert JPG Images to PNG in C#

JPG is one of the most popular and widely used image formats. However, JPG images lose quality each time they are saved. Therefore, you may need to convert them into a lossless format such as PNG. To perform this conversion programmatically from within the .NET applications, this article shows how to convert a JPG image to PNG in C#.

Posted in Aspose.Imaging Product Family | Tagged , , ,

Combine Word Documents using Python

There could be various scenarios when you have to combine multiple Word documents into a single file. For example, when multiple persons are writing different sections of a document and you need to combine the content at the end. On the other hand, you may need to merge all the invoices in one Word document. To perform this merging programmatically, this article covers how to combine multiple Word DOCX/DOC documents in Python.

Posted in Aspose.Words Product Family | Tagged , , ,