How To Write Text Over Images

Text Over Images You may need to display text or title over an image or images to hint about the particular image. People will understand by looking at the title or text what the image about. I will use CSS (Cascading Style Sheet) to decorate text over images. The title or text over images are written in the HTML content…

How To Reduce Image Size Using Python

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 the size of the image….

How To Extract Text From Images In 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 I am going to use…

Add Images to Word File using 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 library for creating and updating…

How to resize bulk images using PHP

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 scan a particular directory that…

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

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 various preferences, such as, destination…

Python Blur Image Pillow

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 effects on an image –…

How to post image tweets to Twitter using Twitter4j Java API

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 with this tweet. As many…

Upload and display image using Python Flask

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 uploaded successfully. Related Posts: Upload…

Add images to Excel file using Apache POI in Java

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. In this example we will…