Read And Write Images In Java

To read and write image files from local disk or from any URL, javax.imageio.ImageIO class is used. javax.imageio.ImageIO is a final class with some static methods which are useful for image processing. Java Program To Read & Write Image From Local Disc:- import java.awt.image.BufferedImage; import java.io.File; import java.io.IOException; import javax.imageio.ImageIO; public class ReadAndWriteImage {       public static void main(String[] args)

Continue reading Read And Write Images In Java

How To Format Date In Java?

SimpleDateFormat class of java.text package is used to format given Date object in different pattern. This class has 2 important methods – “parse()” and “format()”. To convert string to Date in java parse() method is used and  To format the Date object in desired patterns like dd-MM-yyyy, yyyy/MM/dd hh:mm:ss etc format() method is used. While developing an application this program is needed to provide current date in desired

Continue reading How To Format Date In Java?

Java – Decimal To Binary, Decimal To Octal And Decimal To HexaDecimal Conversion

In this tutorial i am going to show you how to convert “Decimal to Binary”, “Decimal to Octal” and “Decimal to Hexadecimal” Check the Java Program below. Java Program To Convert Decimal To Binary :- import java.util.Scanner; public class DecimalToBinary {        public static void main(String[] args)     {         Scanner sc = new Scanner(System.in);                  //Taking input

Continue reading Java – Decimal To Binary, Decimal To Octal And Decimal To HexaDecimal Conversion

How To Reverse Each Word Of A String In Java?

Example : If Input is = “Java” Output should be = “avaj” How?? -> Split the given inputString into words using split() method. Then take each individual word, reverse it and append to reverseString. Finally print reverseString. Java Code :- public class ReverseEachWord {     static void reverseEachWordOfString(String inputString)     {         String[] words = inputString.split(” “);                  String reverseString = “”;         

Continue reading How To Reverse Each Word Of A String In Java?

Java Program To Check Whether Mobile Number Is Valid Or Not

While developing applications, You need to check whether the user input is valid number or not. Lets take mobile Number as an example. You have to check whether mobile no. entered by the user contains valid or not. For those who have developed some applications, they may have come across this requirement. Below, this program checks whether mobile

Continue reading Java Program To Check Whether Mobile Number Is Valid Or Not

Hotel Management System in C Programming with Source Code

Project : Hotel Management System (using C Programming) This program is adopted to provide us information on reserving rooms, book an event, check the features etc. This program is untroublesome as it will serve the admin or user to be updated about the records without any strain and it is favored much by the people involved

Continue reading Hotel Management System in C Programming with Source Code

Eyescream: Natural image generation using ConvNets

The Eyescream Project Generating Natural Images using Neural Networks. For our research summary on this work, please read the Arxiv paper: http://arxiv.org/abs/1506.05751 For a high-level blog post with a live demo, please go to this website: http://soumith.ch/eyescream This repository contains the code to train neural networks and reproduce our results from scratch. Requirements Eyescream requires

Continue reading Eyescream: Natural image generation using ConvNets