Table of Contents Introduction Why Need To Reduce Size Other Tools Prerequisites Project Directory Reduce Image Size Testing Image Quality After Reducing Image Size Original Images Scaled Images Optimized Images Source Code Introduction In this tutorial I will show you how to reduce image size using Python program. I am using Pillow package for reducing…

Posted in Python

How To Reduce Image Size Using Python

Introduction In this example I will show you how to extract text from images in Python program. The text extraction from image could be used for various purpose, for example, data mining for machine learning projects, reading the content from images can be used for further processing in your applications. To extract text from image…

Posted in Python

How To Extract Text From Images In Python

Here I am going to show an example how you can add images to word file in Python programming language. Generally you write headings, paragraphs, etc. to describe an event or something in the word file. To explain better pictorially about the same thing you need to insert or add images. python-docx is a Python…

Posted in Python Word

Add Images to Word File using Python

Here in this tutorial I am going to show you how to resize multiple images or bulk images using PHP programming language. I am going to use built-in functions from PHP language to scan the directory and resize images. Such functions are scandir(), imagecreatetruecolor(), imagecreatefromjpeg(), imagecopyresized() and imagejpeg(). In this example I am going to…

Posted in PHP

How to resize bulk images using PHP

Introduction Here in this tutorial I am going to show you how to create multiple thumbnails using PHP based Codeigniter framework from a single uploaded image. Codeigniter provides a file upload class that is used to upload single file or multiple files or even you can create thumbnail(s). This class also permits you to set…

Posted in Codeigniter

How to create multiple thumbnails from a single uploaded image in Codeigniter

In this tutorial I will show you how to blur an image using Python pillow library. The pillow image library provides the ImageFilter module that contains definitions for a pre-defined set of filters, which can be be used with the Image.filter() method to apply blur on image. I am going to show you three blur…

Posted in Python

Python Blur Image Pillow

In this example I am going to discuss on how to post image tweets to Twitter using Twitter4j Java API. Twitter4j is an unofficial Java library and using this you can easily integrate Java application with Twitter service. Using image tweets I want to mean that I want to post text as well as image…

Posted in Twitter4j

How to post image tweets to Twitter using Twitter4j Java API

Introduction In this tutorial I will show you how to upload image and display on the web page once it is uploaded successfully. I have seen few tutorials on file uploads using Python Flask API but here I will show you how to allow users upload image file and display it on the browser once…

Posted in File Upload Flask Python

Upload and display image using Python Flask

Introduction In this tutorial we will see an example on how to add images to excel file using Apache POI in Java programming language. Using Apache POI library it becomes easy to insert or add images into excel file. Images are part of the drawing support. To add an image just call createPicture() on the drawing patriarch….

Posted in Excel Java

Add images to Excel file using Apache POI in Java

Introduction In this post you will see how to convert pdf to image using Python language. I will use here pdf2image module for extracting image from pdf file and convert to image file. Though there are number of tools available for converting pdf to image file but still you may need to convert pdf using programming language…

Posted in Python

Convert Pdf to Image using Python

Introduction In this post you will see how to convert image to pdf using Python language. I will use here img2pdf module for converting image file to pdf file. Though there are number of tools available for converting image to pdf file but still you may need to convert image using programming language for certain…

Posted in Python

Convert Image to Pdf using Python

Introduction Add images to word document using apache poi will show you how to insert or add images into a Word document using Apache POI API. I will create here a Java based application to add images to word document using apache poi library. Using apache poi library is very easy to add images into…

Posted in Word

Add images to Word document using Apache POI