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

Synopsis of Fee Management System
Synopsis of Fee Management SystemSynopsis of Fee Management System
Synopsis of Fee Management SystemDivya_Gupta19
 
Library management system
Library management systemLibrary management system
Library management systemKhushboo Taneja
 
Automatic Attendance system using Facial Recognition
Automatic Attendance system using Facial RecognitionAutomatic Attendance system using Facial Recognition
Automatic Attendance system using Facial RecognitionNikyaa7
 
School fee-management-system
School fee-management-systemSchool fee-management-system
School fee-management-systemJitendra Shrestha
 
SRS for Library Management System
SRS for Library Management SystemSRS for Library Management System
SRS for Library Management SystemToseef Hasan
 
Facial Image Analysis for age and gender and
Facial Image Analysis for age and gender andFacial Image Analysis for age and gender and
Facial Image Analysis for age and gender andYuheng Wang
 
Sign Language Recognition based on Hands symbols Classification
Sign Language Recognition based on Hands symbols ClassificationSign Language Recognition based on Hands symbols Classification
Sign Language Recognition based on Hands symbols ClassificationTriloki Gupta
 
ACN Microproject .pdf
ACN Microproject .pdfACN Microproject .pdf
ACN Microproject .pdfNayyarKhan8
 
Face recognition technology - BEST PPT
Face recognition technology - BEST PPTFace recognition technology - BEST PPT
Face recognition technology - BEST PPTSiddharth Modi
 
AGE AND GENDER DETECTION.pptx
AGE AND GENDER DETECTION.pptxAGE AND GENDER DETECTION.pptx
AGE AND GENDER DETECTION.pptxssuserb4a9ba
 
Gender Classification using SVM With Flask
Gender Classification using SVM With FlaskGender Classification using SVM With Flask
Gender Classification using SVM With FlaskAI Publications
 
Hand Gesture Recognition Applications
Hand Gesture Recognition ApplicationsHand Gesture Recognition Applications
Hand Gesture Recognition ApplicationsImon_Barua
 
Artificial passenger abstract
Artificial passenger abstractArtificial passenger abstract
Artificial passenger abstractyasmeen123
 
Face detection and recognition
Face detection and recognitionFace detection and recognition
Face detection and recognitionPankaj Thakur
 

What's hot (20)

Synopsis of Fee Management System
Synopsis of Fee Management SystemSynopsis of Fee Management System
Synopsis of Fee Management System
 
Library management system
Library management systemLibrary management system
Library management system
 
Automatic Attendance system using Facial Recognition
Automatic Attendance system using Facial RecognitionAutomatic Attendance system using Facial Recognition
Automatic Attendance system using Facial Recognition
 
Eyeos
EyeosEyeos
Eyeos
 
School fee-management-system
School fee-management-systemSchool fee-management-system
School fee-management-system
 
SRS for Library Management System
SRS for Library Management SystemSRS for Library Management System
SRS for Library Management System
 
EMOTION DETECTION USING AI
EMOTION DETECTION USING AIEMOTION DETECTION USING AI
EMOTION DETECTION USING AI
 
Facial Image Analysis for age and gender and
Facial Image Analysis for age and gender andFacial Image Analysis for age and gender and
Facial Image Analysis for age and gender and
 
Sign Language Recognition based on Hands symbols Classification
Sign Language Recognition based on Hands symbols ClassificationSign Language Recognition based on Hands symbols Classification
Sign Language Recognition based on Hands symbols Classification
 
Online E-Voting System
Online E-Voting SystemOnline E-Voting System
Online E-Voting System
 
ACN Microproject .pdf
ACN Microproject .pdfACN Microproject .pdf
ACN Microproject .pdf
 
Face recognition technology - BEST PPT
Face recognition technology - BEST PPTFace recognition technology - BEST PPT
Face recognition technology - BEST PPT
 
Online Voting System ppt
Online Voting System pptOnline Voting System ppt
Online Voting System ppt
 
AGE AND GENDER DETECTION.pptx
AGE AND GENDER DETECTION.pptxAGE AND GENDER DETECTION.pptx
AGE AND GENDER DETECTION.pptx
 
Servlets api overview
Servlets api overviewServlets api overview
Servlets api overview
 
Gender Classification using SVM With Flask
Gender Classification using SVM With FlaskGender Classification using SVM With Flask
Gender Classification using SVM With Flask
 
eyeos technology
eyeos technologyeyeos technology
eyeos technology
 
Hand Gesture Recognition Applications
Hand Gesture Recognition ApplicationsHand Gesture Recognition Applications
Hand Gesture Recognition Applications
 
Artificial passenger abstract
Artificial passenger abstractArtificial passenger abstract
Artificial passenger abstract
 
Face detection and recognition
Face detection and recognitionFace detection and recognition
Face detection and recognition
 

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

PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docxPoojaSen20
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
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
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingTeacherCyreneCayanan
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
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
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfSanaAli374401
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfAyushMahapatra5
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfChris Hunter
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 

Recently uploaded (20)

INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
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
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
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"
 
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
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdf
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . 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.