Posted in Python

Python Add Images To PDF Documents

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 professionals to edit, share, collaborate…

Continue Reading... Python Add Images To PDF Documents
Posted in Java

Make PDF Files Password Protected Using Java

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 online specific chapters of a…

Continue Reading... Make PDF Files Password Protected Using Java
Posted in Codeigniter MySQL

CodeIgniter 4 Generate PDF Report

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 built-in facility to generate pdf…

Continue Reading... CodeIgniter 4 Generate PDF Report
Posted in Python

How To Encrypt PDF As Password Protected File In Python

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 PDF file password protected. It…

Continue Reading... How To Encrypt PDF As Password Protected File In Python
Posted in Java MySQL Spring Boot

How to generate PDF report from MySQL database in Spring Boot

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 had shown how to create…

Continue Reading... How to generate PDF report from MySQL database in Spring Boot
Posted in Python

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

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 standard format CSV is smaller…

Continue Reading... How to convert CSV File to PDF File using PyFPDF in Python
Posted in Java

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

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 you know that CSV is…

Continue Reading... How to convert PDF File to CSV File using iText API in Java
Posted in Java

How to convert CSV file to PDF 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 going to show you how…

Continue Reading... How to convert CSV file to PDF file using iText API in Java
Posted in Java

How to create PDF File Content using 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 banking system generating statements for…

Continue Reading... How to create PDF File Content using Java
Posted in Python

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

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, or stdout.

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