PDF In this example I am going to show you how to add images to PDF documents or files. you may need to add or include images into pdf files along with text information. There are a number of advantages while using pdf as a document for various purposes, such as: PDF format reports allows…

Posted in Python

Python Add Images To PDF Documents

Table of Contents Introduction Prerequisites Project Setup Protect PDF using Password Testing Encrypted PDF Files Source Code Introduction This example is going to show you how to make pdf files password protected using Java programming language. Many applications require dynamic generation of PDF documents for reporting purpose, such as, generating statements for customers, readers buying…

Posted in Java

Make PDF Files Password Protected Using Java

Introduction The tutorial, CodeIgniter 4 Generate PDF Report will show you how to fetch data from MySQL database and generate PDF document using CodeIgniter 4 framework. Here I am going to use how to use TCPDF third party library with CodeIgniter 4 framework to put data into pdf document. CodeIgniter framework does not provide any…

Posted in Codeigniter MySQL

CodeIgniter 4 Generate PDF Report

Here I am going to show you an example how to encrypt PDF to make it password protected using PyPDF2 module in Python programming language. I am not going to show you how to create a new PDF file in this example and I am going to read the existing PDF file and making this…

Posted in Python

How To Encrypt PDF As Password Protected File In Python

I am going to show yo how to download PDF file from MySQL database using Spring Boot and iText library in Java programming language. Many applications require dynamic generation of PDF documents for reporting purpose, such as, generating statements for customers, readers buying online specific chapters of a book, etc. In my another tutorial I…

Posted in Java MySQL Spring Boot

How to generate PDF report from MySQL database in Spring Boot

Here I am going to tell you how to convert CSV to PDF file using PyFPDF library in Java programming language. CSV is a comma separated value and it can be opened as a plain text file or in Microsoft excel file. There are few advantages of CSV data: CSV format is considered to be…

Posted in Python

How to convert CSV File to PDF File using PyFPDF in Python

In this example I going to show you how to convert PDF file to CSV file. I will read the PDF file using iText library and write data to the CSV file using Java programming language. In my previous example I had shown how to convert CSV file to PDF file using iText library. As…

Posted in Java

How to convert PDF File to CSV File using iText API in Java

Here I am going to tell you how to convert CSV to PDF file using iText library in Java programming language. I am going to use Java 7 or later version’s new feature Path API to read the CSV file and Java 8’s Stream API to split the comma separated line or record. I am…

Posted in Java

How to convert CSV file to PDF file using iText API in Java

Introduction In this tutorial I am going to show you how to create PDF file content with different formats using Java programming language. In this tutorial I am going to use iText library to generate the PDF document. Many applications require dynamic generation of PDF documents. The applications, where dynamically generated PDF is required, are…

Posted in Java

How to create PDF File Content using Java

Introduction We are going to show you how to extract text from PDF file and convert them into audio speech using Google gTTS API. gTTS (Google Text-to-Speech), a Python library and CLI tool to interface with Google Translate’s text-to-speech API. Write spoken mp3 data to a file, a file-like object (bytestring) for further audio manipulation,…

Posted in Python

Convert PDF File Text to Audio Speech using Python and Google gTTS API

Introduction We will create an example using Python programming language how to extract text from PDF file. In this example we are going to use PyPDF2 package from Python to work with PDF file.

Posted in Python

Extract Text from PDF File using Python

In this example you will see how to convert docx to pdf in Python programming language. Your word document may contain images, paragraphs, headings, text, table, title etc. This program will put them into a pdf file. Note that this program will convert only word document of docx type. This is a very simple program…

Posted in Python

How to convert docx to pdf in Python