SlideShare a Scribd company logo
1 of 22
A
                  Industrial Training Project Report
                                  on

       “IMAGE CONVERTER SOFTWARE”



                                       Submitted by :-
                                       NAVIN KUMAR
                                       ROLL : 09EAXEC075
Organization :                         Class : B. Tech (ECE) - 4rd Year.
                                       College : Apex Institute of Engineering
                                                   & Technology, Jaipur.
HCL Infosystems Ltd, Jaipur.                                       Page 1
CONTENTS

 Introduction
 System and Software Required
 Working
 Advantages
 Applications
INTRODUCTION
 Image Converter Software is made in Java Environment which can run on
   any operating system.



 At a time, it can convert large amount of BMP/PNG/GIF images to
   JPG/JPEG image format with same dimension and resolution.



 When bmp images are converted to JPG images, its size extensively
   reduced but dimension and resolution remains unchanged.



 You can convert image to Byte Array & store in Database and whenever
   require, it can be retrieved.
SYSTEM AND SOFTWARE REQUIRED
      Operating System :
      • Windows XP.
      • Windows 7.

      Java Platform :
      • Version 6


      Database :
      • Microsoft SQL Server 2005 or MySQL.


      IDE :
      • Eclipse IDE for Java
Creating Table In Database (MS SQL Server)

To Create a Table :
create table s_pht(
pht_kid int primary key not null identity(10,1),
pht_name varchar(50) not null,                         pht_kid pht_name pht_file
pht_file image not null)                           1    10
                                                   2     11
                                                   3     12
Table Name : s_pht
                                                   4     13
3 Columns : pht_kid, pht_name & pht_file


To See Content of Table :
select *from s_pht
JDBC Connection
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.Statement;
public class Abc {
private Statement getstatement(){
String connectionUrl = "jdbc:sqlserver://localhost:1433;databaseName=apex;";
try {                                                                               Load Driver
Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");
Connection con = DriverManager.getConnection(connectionUrl,"sa",“pass");
return con.createStatement();
}
catch(Exception e){ e.printStackTrace(); }                  UserID             Password
return null;
}
public static void main(String args[]){
Abc mncls = new Abc();
try {
Statement stmt = mncls.getstatement();
String sql = "insert into btech(sno,name,percentage,semester) " +" values (4,'Ravish',84.01,5)";
stmt.execute(sql);
sql = "select * from btech";                                                  Use ResultSet to iterate
ResultSet rs = stmt.executeQuery(sql);
 while (rs.next()) {                                                            and access the data.
System.out.println(rs.getString(1)); System.out.println(rs.getString(2)); } }
catch(Exception e){ e.printStackTrace(); }
}
}
Creating Java Program
 In order to write a java program in Eclipse IDE, steps may be as follows :

                          Create New Project


                          Create New Package

                                                        Import Package(s)



                        Create New Java Class(s)
                                                             Extend Class(s)
                             [ .java file(s) ]

    JDBC Driver                    R
                                   U                  Implement Interface(s)

  Database Connection
                                   N

                            [ .class file(s) ]
Selecting File/Directory For Old Path
 By clicking on Browse Button which is in front of Old Path, File/Directory
  chooser will open.

 Path of selected file/directory will automatically copy to the corresponding
  Text Field.
Selecting Directory For New Path
 By clicking on Browse Button which is in front of New Path, Directory
  chooser will open.

 Path of selected directory will automatically copy to the corresponding
  Text Field.
Conversion of Images to jpg/jpeg format
 When Button “Convert” is clicked/pressed, all images from source
  directory(Old Path) is converted to JPG/JPEG format and stored at
  destination directory(New Path).
Disruption of Obstruction During
          Image Conversion
 If old path and/or new path are not provided then an error message will be
  generated.
BMP Image Vs. JPEG Image

 A bitmap(BMP) file is one that is made up of pixels in a grid. It is a
  resolution dependent image, so it’s very difficult to increase the size of a
  bitmap graphic without a noticeable decrease in quality.


 Joint Photographic Experts Group (JPEG) or JPG files are a type of
  compressed bitmap file. This lossy compression technique reduces the size
  of an image by discarding details that are typically too insignificant for the
  human eye to detect.


 JPEG file format supports 16 million colours, it does a very good job of
  analysing what data is the most important to a particular image.
Save Image To Database
 When Button “Save To DataBase” is clicked/pressed then all JPG/JPEG
  images at “New Path” is save to the database in byte array format.
Images Stored In Database
   JPG images are stored in database in Byte Array format.

   Each images stored in database with unique id.


Unique ID                               Images in Byte Array Format
Disruption of Obstruction During
      Saving of Images in Database
 If New Path is not provided then an error message will be generated.
Continued…….
 If program is not successfully connected to database due to invalid user,
  password, driver, etc. then an error message will be generated.
Retrieve Images From Database
 When Button “Upload” is clicked/pressed, images from database which is
  stored in Byte Array format is uploaded at Old Path location in JPG
  format.
Disruption of Obstruction During
    Upload of Images From Database
 If Old Path is not provided then an error message will be generated.
Continued…….
 During upload, if program is not successfully connected to database due to
  invalid user, password, driver, etc. then an error message will be generated.
ADVANTAGES
Portable

Java based program which is platform independent.

Image takes less memory space.

Takes very less amount of time in conversion.

No effect on image quality and dimension.

Data stored in database is more secure.

Each images stored in database with unique ID.
CONCLUSION
 If you need to convert one or thousands of images of varying types, this is the
tool.

A BMP image having size 5MB is converted to JPG image then it’s size reduced
up to 700 KB but image quality is unaffected.


Instead of storing the image, you can store the byte array of that image in DB. You
can convert that image to byte array & store in DB. Byte Array (Base 64 string)
which is more secure.


It can be used in various places like Banks, UIDAI (Aadhaar), photography etc.
THANK YOU

More Related Content

What's hot

Driver drowsiness detection
Driver drowsiness detectionDriver drowsiness detection
Driver drowsiness detectionConnecting Point
 
Synopsis for Online Railway Railway Reservation System
Synopsis for Online Railway Railway Reservation SystemSynopsis for Online Railway Railway Reservation System
Synopsis for Online Railway Railway Reservation SystemZainabNoorGul
 
Computer Vision Presentation Artificial Intelligence (AI)
Computer Vision Presentation Artificial Intelligence (AI)Computer Vision Presentation Artificial Intelligence (AI)
Computer Vision Presentation Artificial Intelligence (AI)AshTheMidBenchers
 
Vehicle management system
Vehicle management systemVehicle management system
Vehicle management systemMohd Saddam
 
OCR (Optical Character Recognition)
OCR (Optical Character Recognition) OCR (Optical Character Recognition)
OCR (Optical Character Recognition) IstiaqueBinIslam
 
vehicle management system project report
vehicle management system project reportvehicle management system project report
vehicle management system project reportAshik Khan
 
Computer science seminar topics
Computer science seminar topicsComputer science seminar topics
Computer science seminar topics123seminarsonly
 
automatic number plate recognition
automatic number plate recognitionautomatic number plate recognition
automatic number plate recognitionSairam Taduvai
 
Corba introduction and simple example
Corba introduction and simple example Corba introduction and simple example
Corba introduction and simple example Alexia Wang
 
Automatic Number Plate Recognition(ANPR) System Project
Automatic Number Plate Recognition(ANPR) System  Project Automatic Number Plate Recognition(ANPR) System  Project
Automatic Number Plate Recognition(ANPR) System Project Gulraiz Javaid
 
OCR speech using Labview
OCR speech using LabviewOCR speech using Labview
OCR speech using LabviewBharat Thakur
 
AUTOMATIC LICENSE PLATE RECOGNITION SYSTEM FOR INDIAN VEHICLE IDENTIFICATION ...
AUTOMATIC LICENSE PLATE RECOGNITION SYSTEM FOR INDIAN VEHICLE IDENTIFICATION ...AUTOMATIC LICENSE PLATE RECOGNITION SYSTEM FOR INDIAN VEHICLE IDENTIFICATION ...
AUTOMATIC LICENSE PLATE RECOGNITION SYSTEM FOR INDIAN VEHICLE IDENTIFICATION ...Kuntal Bhowmick
 

What's hot (20)

Driver drowsiness detection
Driver drowsiness detectionDriver drowsiness detection
Driver drowsiness detection
 
Agent Oriented Programming PPT
Agent Oriented Programming PPTAgent Oriented Programming PPT
Agent Oriented Programming PPT
 
Synopsis for Online Railway Railway Reservation System
Synopsis for Online Railway Railway Reservation SystemSynopsis for Online Railway Railway Reservation System
Synopsis for Online Railway Railway Reservation System
 
Computer Vision Presentation Artificial Intelligence (AI)
Computer Vision Presentation Artificial Intelligence (AI)Computer Vision Presentation Artificial Intelligence (AI)
Computer Vision Presentation Artificial Intelligence (AI)
 
Wireless application protocol ppt
Wireless application protocol  pptWireless application protocol  ppt
Wireless application protocol ppt
 
Fingerprint recognition
Fingerprint recognitionFingerprint recognition
Fingerprint recognition
 
Vehicle management system
Vehicle management systemVehicle management system
Vehicle management system
 
Intoduction to Neural Network
Intoduction to Neural NetworkIntoduction to Neural Network
Intoduction to Neural Network
 
Ocr abstract
Ocr abstractOcr abstract
Ocr abstract
 
OCR (Optical Character Recognition)
OCR (Optical Character Recognition) OCR (Optical Character Recognition)
OCR (Optical Character Recognition)
 
vehicle management system project report
vehicle management system project reportvehicle management system project report
vehicle management system project report
 
Edge Computing.pptx
Edge Computing.pptxEdge Computing.pptx
Edge Computing.pptx
 
Computer science seminar topics
Computer science seminar topicsComputer science seminar topics
Computer science seminar topics
 
automatic number plate recognition
automatic number plate recognitionautomatic number plate recognition
automatic number plate recognition
 
Corba introduction and simple example
Corba introduction and simple example Corba introduction and simple example
Corba introduction and simple example
 
Automatic Number Plate Recognition(ANPR) System Project
Automatic Number Plate Recognition(ANPR) System  Project Automatic Number Plate Recognition(ANPR) System  Project
Automatic Number Plate Recognition(ANPR) System Project
 
OCR speech using Labview
OCR speech using LabviewOCR speech using Labview
OCR speech using Labview
 
AUTOMATIC LICENSE PLATE RECOGNITION SYSTEM FOR INDIAN VEHICLE IDENTIFICATION ...
AUTOMATIC LICENSE PLATE RECOGNITION SYSTEM FOR INDIAN VEHICLE IDENTIFICATION ...AUTOMATIC LICENSE PLATE RECOGNITION SYSTEM FOR INDIAN VEHICLE IDENTIFICATION ...
AUTOMATIC LICENSE PLATE RECOGNITION SYSTEM FOR INDIAN VEHICLE IDENTIFICATION ...
 
Voice browser
Voice browserVoice browser
Voice browser
 
Brain Chips_main.pptx
Brain Chips_main.pptxBrain Chips_main.pptx
Brain Chips_main.pptx
 

Viewers also liked

Image to text Converter
Image to text ConverterImage to text Converter
Image to text ConverterDhiraj Raj
 
Word Detection & Translation from image on an android device
Word Detection & Translation from image on an android deviceWord Detection & Translation from image on an android device
Word Detection & Translation from image on an android deviceRitwik Kumar
 
The birth of the crusading movement
The birth of the crusading movementThe birth of the crusading movement
The birth of the crusading movementAbdul Sattar
 
Scalable and Cost Effective interconnection of Data-Center Servers Using Dua...
Scalable and Cost Effective interconnection of Data-Center Servers  Using Dua...Scalable and Cost Effective interconnection of Data-Center Servers  Using Dua...
Scalable and Cost Effective interconnection of Data-Center Servers Using Dua...Nimal Joseph
 
Projectm6 2-2554 kor
Projectm6 2-2554 korProjectm6 2-2554 kor
Projectm6 2-2554 korTheyok Tanya
 
Tugas pmp
Tugas pmpTugas pmp
Tugas pmpRy_Awan
 
ใบงานท 13-16
ใบงานท  13-16ใบงานท  13-16
ใบงานท 13-16Theyok Tanya
 
ใบงานท 13-16
ใบงานท  13-16ใบงานท  13-16
ใบงานท 13-16Theyok Tanya
 
ใบงานท 13-16
ใบงานท  13-16ใบงานท  13-16
ใบงานท 13-16Theyok Tanya
 
MICRO-ELECTROMECHANICAL SYSTEM (MEMS)
MICRO-ELECTROMECHANICAL SYSTEM (MEMS)MICRO-ELECTROMECHANICAL SYSTEM (MEMS)
MICRO-ELECTROMECHANICAL SYSTEM (MEMS)Navin Kumar
 
ใบงานท 13-16
ใบงานท  13-16ใบงานท  13-16
ใบงานท 13-16Theyok Tanya
 
Projectm6 2-2554 sakboss
Projectm6 2-2554 sakbossProjectm6 2-2554 sakboss
Projectm6 2-2554 sakbossTheyok Tanya
 
Pat6 ความถนัดทางศิลปกรรมศาสตร์
Pat6 ความถนัดทางศิลปกรรมศาสตร์Pat6 ความถนัดทางศิลปกรรมศาสตร์
Pat6 ความถนัดทางศิลปกรรมศาสตร์Theyok Tanya
 
ชาตะไคร้
ชาตะไคร้ชาตะไคร้
ชาตะไคร้Theyok Tanya
 
Gatความถนัดทั่วไป
Gatความถนัดทั่วไปGatความถนัดทั่วไป
Gatความถนัดทั่วไปTheyok Tanya
 

Viewers also liked (20)

Image to text Converter
Image to text ConverterImage to text Converter
Image to text Converter
 
Word Detection & Translation from image on an android device
Word Detection & Translation from image on an android deviceWord Detection & Translation from image on an android device
Word Detection & Translation from image on an android device
 
The birth of the crusading movement
The birth of the crusading movementThe birth of the crusading movement
The birth of the crusading movement
 
Prophet
ProphetProphet
Prophet
 
Scalable and Cost Effective interconnection of Data-Center Servers Using Dua...
Scalable and Cost Effective interconnection of Data-Center Servers  Using Dua...Scalable and Cost Effective interconnection of Data-Center Servers  Using Dua...
Scalable and Cost Effective interconnection of Data-Center Servers Using Dua...
 
Projectm6 2-2554 kor
Projectm6 2-2554 korProjectm6 2-2554 kor
Projectm6 2-2554 kor
 
Tugas pmp
Tugas pmpTugas pmp
Tugas pmp
 
ใบงานท 13-16
ใบงานท  13-16ใบงานท  13-16
ใบงานท 13-16
 
Project babnana
Project babnanaProject babnana
Project babnana
 
Project babnana
Project babnanaProject babnana
Project babnana
 
ใบงานท 13-16
ใบงานท  13-16ใบงานท  13-16
ใบงานท 13-16
 
Catalogue a4
Catalogue a4Catalogue a4
Catalogue a4
 
Ocr revision
Ocr revisionOcr revision
Ocr revision
 
ใบงานท 13-16
ใบงานท  13-16ใบงานท  13-16
ใบงานท 13-16
 
MICRO-ELECTROMECHANICAL SYSTEM (MEMS)
MICRO-ELECTROMECHANICAL SYSTEM (MEMS)MICRO-ELECTROMECHANICAL SYSTEM (MEMS)
MICRO-ELECTROMECHANICAL SYSTEM (MEMS)
 
ใบงานท 13-16
ใบงานท  13-16ใบงานท  13-16
ใบงานท 13-16
 
Projectm6 2-2554 sakboss
Projectm6 2-2554 sakbossProjectm6 2-2554 sakboss
Projectm6 2-2554 sakboss
 
Pat6 ความถนัดทางศิลปกรรมศาสตร์
Pat6 ความถนัดทางศิลปกรรมศาสตร์Pat6 ความถนัดทางศิลปกรรมศาสตร์
Pat6 ความถนัดทางศิลปกรรมศาสตร์
 
ชาตะไคร้
ชาตะไคร้ชาตะไคร้
ชาตะไคร้
 
Gatความถนัดทั่วไป
Gatความถนัดทั่วไปGatความถนัดทั่วไป
Gatความถนัดทั่วไป
 

Similar to Image Converter

Jdbc Complete Notes by Java Training Center (Som Sir)
Jdbc Complete Notes by Java Training Center (Som Sir)Jdbc Complete Notes by Java Training Center (Som Sir)
Jdbc Complete Notes by Java Training Center (Som Sir)Som Prakash Rai
 
High Performance Jdbc
High Performance JdbcHigh Performance Jdbc
High Performance JdbcSam Pattsin
 
Java Programming for Designers
Java Programming for DesignersJava Programming for Designers
Java Programming for DesignersR. Sosa
 
EJB 3.0 Java Persistence with Oracle TopLink
EJB 3.0 Java Persistence with Oracle TopLinkEJB 3.0 Java Persistence with Oracle TopLink
EJB 3.0 Java Persistence with Oracle TopLinkBill Lyons
 
Free EJB Tutorial | VirtualNuggets
Free EJB Tutorial | VirtualNuggetsFree EJB Tutorial | VirtualNuggets
Free EJB Tutorial | VirtualNuggetsVirtual Nuggets
 
Introduction to the Java(TM) Advanced Imaging API
Introduction to the Java(TM) Advanced Imaging APIIntroduction to the Java(TM) Advanced Imaging API
Introduction to the Java(TM) Advanced Imaging APIwhite paper
 
Oracle EBS 12.1.3 : Integrate OA Framework BC4J components within java concur...
Oracle EBS 12.1.3 : Integrate OA Framework BC4J components within java concur...Oracle EBS 12.1.3 : Integrate OA Framework BC4J components within java concur...
Oracle EBS 12.1.3 : Integrate OA Framework BC4J components within java concur...Amit Singh
 
Revolutionizing the Data Abstraction Layer with IBM Optim pureQuery and DB2
Revolutionizing the Data Abstraction Layer with IBM Optim pureQuery and DB2Revolutionizing the Data Abstraction Layer with IBM Optim pureQuery and DB2
Revolutionizing the Data Abstraction Layer with IBM Optim pureQuery and DB2Vladimir Bacvanski, PhD
 
Having Fun Building Web Applications (Day 2 slides)
Having Fun Building Web Applications (Day 2 slides)Having Fun Building Web Applications (Day 2 slides)
Having Fun Building Web Applications (Day 2 slides)Clarence Ngoh
 
Starting with SpagoBI Slide Support
Starting with SpagoBI Slide SupportStarting with SpagoBI Slide Support
Starting with SpagoBI Slide SupportSpagoWorld
 
Google App Engine for Java
Google App Engine for JavaGoogle App Engine for Java
Google App Engine for JavaLars Vogel
 

Similar to Image Converter (20)

Jdbc Complete Notes by Java Training Center (Som Sir)
Jdbc Complete Notes by Java Training Center (Som Sir)Jdbc Complete Notes by Java Training Center (Som Sir)
Jdbc Complete Notes by Java Training Center (Som Sir)
 
Tutorial for netbeans
Tutorial for netbeansTutorial for netbeans
Tutorial for netbeans
 
JAVA_STEP_V7
JAVA_STEP_V7JAVA_STEP_V7
JAVA_STEP_V7
 
4 jdbc step1
4 jdbc step14 jdbc step1
4 jdbc step1
 
Jdbc
JdbcJdbc
Jdbc
 
High Performance Jdbc
High Performance JdbcHigh Performance Jdbc
High Performance Jdbc
 
Hibernate notes
Hibernate notesHibernate notes
Hibernate notes
 
Java Programming for Designers
Java Programming for DesignersJava Programming for Designers
Java Programming for Designers
 
Dao example
Dao exampleDao example
Dao example
 
EJB 3.0 Java Persistence with Oracle TopLink
EJB 3.0 Java Persistence with Oracle TopLinkEJB 3.0 Java Persistence with Oracle TopLink
EJB 3.0 Java Persistence with Oracle TopLink
 
N1802038292
N1802038292N1802038292
N1802038292
 
Free EJB Tutorial | VirtualNuggets
Free EJB Tutorial | VirtualNuggetsFree EJB Tutorial | VirtualNuggets
Free EJB Tutorial | VirtualNuggets
 
Introduction to the Java(TM) Advanced Imaging API
Introduction to the Java(TM) Advanced Imaging APIIntroduction to the Java(TM) Advanced Imaging API
Introduction to the Java(TM) Advanced Imaging API
 
SSDT unleashed
SSDT unleashedSSDT unleashed
SSDT unleashed
 
Having Fun with Play
Having Fun with PlayHaving Fun with Play
Having Fun with Play
 
Oracle EBS 12.1.3 : Integrate OA Framework BC4J components within java concur...
Oracle EBS 12.1.3 : Integrate OA Framework BC4J components within java concur...Oracle EBS 12.1.3 : Integrate OA Framework BC4J components within java concur...
Oracle EBS 12.1.3 : Integrate OA Framework BC4J components within java concur...
 
Revolutionizing the Data Abstraction Layer with IBM Optim pureQuery and DB2
Revolutionizing the Data Abstraction Layer with IBM Optim pureQuery and DB2Revolutionizing the Data Abstraction Layer with IBM Optim pureQuery and DB2
Revolutionizing the Data Abstraction Layer with IBM Optim pureQuery and DB2
 
Having Fun Building Web Applications (Day 2 slides)
Having Fun Building Web Applications (Day 2 slides)Having Fun Building Web Applications (Day 2 slides)
Having Fun Building Web Applications (Day 2 slides)
 
Starting with SpagoBI Slide Support
Starting with SpagoBI Slide SupportStarting with SpagoBI Slide Support
Starting with SpagoBI Slide Support
 
Google App Engine for Java
Google App Engine for JavaGoogle App Engine for Java
Google App Engine for Java
 

More from Navin Kumar

Fat indian wedding
Fat indian weddingFat indian wedding
Fat indian weddingNavin Kumar
 
Biometric Authentication Technology - Report
Biometric Authentication Technology - ReportBiometric Authentication Technology - Report
Biometric Authentication Technology - ReportNavin Kumar
 
Micro Electromechanical System (MEMS)
Micro Electromechanical System (MEMS)Micro Electromechanical System (MEMS)
Micro Electromechanical System (MEMS)Navin Kumar
 
Encoding stored video for stremming applications ieee paper ppt
Encoding stored video for stremming applications ieee paper pptEncoding stored video for stremming applications ieee paper ppt
Encoding stored video for stremming applications ieee paper pptNavin Kumar
 
Biometric authentication ppt by navin 6 feb
Biometric authentication ppt by navin 6 febBiometric authentication ppt by navin 6 feb
Biometric authentication ppt by navin 6 febNavin Kumar
 
Sixth Sense Technology
Sixth Sense TechnologySixth Sense Technology
Sixth Sense TechnologyNavin Kumar
 
Embedded Systems
Embedded SystemsEmbedded Systems
Embedded SystemsNavin Kumar
 

More from Navin Kumar (9)

Fat indian wedding
Fat indian weddingFat indian wedding
Fat indian wedding
 
Axis bank
Axis bankAxis bank
Axis bank
 
Biometric Authentication Technology - Report
Biometric Authentication Technology - ReportBiometric Authentication Technology - Report
Biometric Authentication Technology - Report
 
Micro Electromechanical System (MEMS)
Micro Electromechanical System (MEMS)Micro Electromechanical System (MEMS)
Micro Electromechanical System (MEMS)
 
Encoding stored video for stremming applications ieee paper ppt
Encoding stored video for stremming applications ieee paper pptEncoding stored video for stremming applications ieee paper ppt
Encoding stored video for stremming applications ieee paper ppt
 
Nanogenerator
NanogeneratorNanogenerator
Nanogenerator
 
Biometric authentication ppt by navin 6 feb
Biometric authentication ppt by navin 6 febBiometric authentication ppt by navin 6 feb
Biometric authentication ppt by navin 6 feb
 
Sixth Sense Technology
Sixth Sense TechnologySixth Sense Technology
Sixth Sense Technology
 
Embedded Systems
Embedded SystemsEmbedded Systems
Embedded Systems
 

Recently uploaded

SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...Pooja Nehwal
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...anjaliyadav012327
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 

Recently uploaded (20)

SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 

Image Converter

  • 1. A Industrial Training Project Report on “IMAGE CONVERTER SOFTWARE” Submitted by :- NAVIN KUMAR ROLL : 09EAXEC075 Organization : Class : B. Tech (ECE) - 4rd Year. College : Apex Institute of Engineering & Technology, Jaipur. HCL Infosystems Ltd, Jaipur. Page 1
  • 2. CONTENTS  Introduction  System and Software Required  Working  Advantages  Applications
  • 3. INTRODUCTION  Image Converter Software is made in Java Environment which can run on any operating system.  At a time, it can convert large amount of BMP/PNG/GIF images to JPG/JPEG image format with same dimension and resolution.  When bmp images are converted to JPG images, its size extensively reduced but dimension and resolution remains unchanged.  You can convert image to Byte Array & store in Database and whenever require, it can be retrieved.
  • 4. SYSTEM AND SOFTWARE REQUIRED Operating System : • Windows XP. • Windows 7. Java Platform : • Version 6 Database : • Microsoft SQL Server 2005 or MySQL. IDE : • Eclipse IDE for Java
  • 5. Creating Table In Database (MS SQL Server) To Create a Table : create table s_pht( pht_kid int primary key not null identity(10,1), pht_name varchar(50) not null, pht_kid pht_name pht_file pht_file image not null) 1 10 2 11 3 12 Table Name : s_pht 4 13 3 Columns : pht_kid, pht_name & pht_file To See Content of Table : select *from s_pht
  • 6. JDBC Connection import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.Statement; public class Abc { private Statement getstatement(){ String connectionUrl = "jdbc:sqlserver://localhost:1433;databaseName=apex;"; try { Load Driver Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver"); Connection con = DriverManager.getConnection(connectionUrl,"sa",“pass"); return con.createStatement(); } catch(Exception e){ e.printStackTrace(); } UserID Password return null; } public static void main(String args[]){ Abc mncls = new Abc(); try { Statement stmt = mncls.getstatement(); String sql = "insert into btech(sno,name,percentage,semester) " +" values (4,'Ravish',84.01,5)"; stmt.execute(sql); sql = "select * from btech"; Use ResultSet to iterate ResultSet rs = stmt.executeQuery(sql); while (rs.next()) { and access the data. System.out.println(rs.getString(1)); System.out.println(rs.getString(2)); } } catch(Exception e){ e.printStackTrace(); } } }
  • 7. Creating Java Program  In order to write a java program in Eclipse IDE, steps may be as follows : Create New Project Create New Package Import Package(s) Create New Java Class(s) Extend Class(s) [ .java file(s) ] JDBC Driver R U Implement Interface(s) Database Connection N [ .class file(s) ]
  • 8. Selecting File/Directory For Old Path  By clicking on Browse Button which is in front of Old Path, File/Directory chooser will open.  Path of selected file/directory will automatically copy to the corresponding Text Field.
  • 9. Selecting Directory For New Path  By clicking on Browse Button which is in front of New Path, Directory chooser will open.  Path of selected directory will automatically copy to the corresponding Text Field.
  • 10. Conversion of Images to jpg/jpeg format  When Button “Convert” is clicked/pressed, all images from source directory(Old Path) is converted to JPG/JPEG format and stored at destination directory(New Path).
  • 11. Disruption of Obstruction During Image Conversion  If old path and/or new path are not provided then an error message will be generated.
  • 12. BMP Image Vs. JPEG Image  A bitmap(BMP) file is one that is made up of pixels in a grid. It is a resolution dependent image, so it’s very difficult to increase the size of a bitmap graphic without a noticeable decrease in quality.  Joint Photographic Experts Group (JPEG) or JPG files are a type of compressed bitmap file. This lossy compression technique reduces the size of an image by discarding details that are typically too insignificant for the human eye to detect.  JPEG file format supports 16 million colours, it does a very good job of analysing what data is the most important to a particular image.
  • 13. Save Image To Database  When Button “Save To DataBase” is clicked/pressed then all JPG/JPEG images at “New Path” is save to the database in byte array format.
  • 14. Images Stored In Database  JPG images are stored in database in Byte Array format.  Each images stored in database with unique id. Unique ID Images in Byte Array Format
  • 15. Disruption of Obstruction During Saving of Images in Database  If New Path is not provided then an error message will be generated.
  • 16. Continued…….  If program is not successfully connected to database due to invalid user, password, driver, etc. then an error message will be generated.
  • 17. Retrieve Images From Database  When Button “Upload” is clicked/pressed, images from database which is stored in Byte Array format is uploaded at Old Path location in JPG format.
  • 18. Disruption of Obstruction During Upload of Images From Database  If Old Path is not provided then an error message will be generated.
  • 19. Continued…….  During upload, if program is not successfully connected to database due to invalid user, password, driver, etc. then an error message will be generated.
  • 20. ADVANTAGES Portable Java based program which is platform independent. Image takes less memory space. Takes very less amount of time in conversion. No effect on image quality and dimension. Data stored in database is more secure. Each images stored in database with unique ID.
  • 21. CONCLUSION  If you need to convert one or thousands of images of varying types, this is the tool. A BMP image having size 5MB is converted to JPG image then it’s size reduced up to 700 KB but image quality is unaffected. Instead of storing the image, you can store the byte array of that image in DB. You can convert that image to byte array & store in DB. Byte Array (Base 64 string) which is more secure. It can be used in various places like Banks, UIDAI (Aadhaar), photography etc.