of 46
8/14/2019 Synopsis for Image Factory
1/46
Synopsis
Image factory is a fast, stable, user-friendly image browser, converter
and editor. It has a nice array of features that include image viewing,
management, comparison, red-eye removal, resizing, cropping and
color adjustments. Its innovative but intuitive full-screen mode
provides quick access to EXIF INFORMATION, thumbnail browser and
major functionalities via hidden toolbars that pop up when your mouse
touches the four edges of the screen. Other features include a high
quality magnifier and a musical slideshow with 150+ transitional
effects, as well as lossless JPEG transitions, drop shadow effects, image
annotation, scanner support, histogram and much more. It supports all
major graphic formats (BMP, JPEG, JPEG 2000, animated GIF, PNG, PCX,
TIFF, WMF, ICO and TGA) and popular digital camera RAW formats
(CRW, CR2, NEF, PEF, RAF, MRW, ORF, SRF and DNG).
Smoothening/Averaging a image
Converting a grey scale image to a Black White image
Bit reducing in a image
Contrast Enhancement in a image
Median filtering of noise in a image
Gradient operators
Constructing image pyramid and storing a image in different
resolutions and retrieving them
Component Labeling in a image
8/14/2019 Synopsis for Image Factory
2/46
True Full Screen viewer with image zoom support and unique fly-out
menu panels
Crystal-clear and customizable one-click image magnifier
Superior Red-Eye effect removal/reduction with completely natural
looking end result
Image modification tools: Resize/resample, rotate/flip, crop,
sharpen/blur, brightness/contrast, etc.
Eleven resembling algorithms to choose from when resizing images
Image color effects: gray scale, sepia, negative, Red/Green/Blue
adjustment
Image special effects: watermark, annotation, drop shadow,
framing, bump map, lens, morph, waves
Multi-level Undo/Redo capability
One-touch best fit/actual size image display support
Image management, including tagging capability, with drag-and-
drop and Copy To/Move to Folder support
Histogram display with color counter feature
Compare images side-by-side (up to 4 at a time) to easily cull those
forgettable shots
Image EXIF metadata support (plus comment editing for JPEGs)
Configurable batch processing to convert/rename large or small
collections of images
8/14/2019 Synopsis for Image Factory
3/46
Print images with full page-layout control
Create fully configurable Contact Sheets - just like the pros
Create memorable artistic image montages from your family photosfor personalized desktop wallpapers (Wallpaper Anywhere)
Acquire images from a scanner
Versatile screen capture capability
Powerful Save As interface to compare image quality and control
generated file size
Run favorite programs with one keystroke from within Image Viewer
Create a no-install fully portable version of the program which can
be run from a removable storage device
Configurable mouse wheel support
Supports multiple program skins
Supports dual-monitor configurations
8/14/2019 Synopsis for Image Factory
4/46
ORGANISATION PROFILE
Zillio Matrix, which is one of the best pioneer Software establishments in
Coimbatore. Our Company is a Software Development and Consulting Organization. It
provides IT solution to clients using State-of-art-of-technology Using .Net Framework &
Java Technology
History
Zillio Matrix has been in business since 2003 in Coimbatore.
Our Company is capable and well equipped with optimum
technological know-how, Infrastructure, to deliver high-end solutions
on all leading platforms. The company is an IT solutions provider with
their main focus being IT consulting and software services. The
company offers the entire range of services encompassing
architectural planning, system development, implementation and
training. The company specializes in devising migration strategies for
organizations requiring a smooth transfer from their existing systems
and solutions, to a newer and more efficient environment.
Services
Zillio Matrix provides software development in the areas of
Application, System, Web and Multimedia and have essential
requirements management to implementation, rigorous testing,
deployment and support.
Products.
Modernize existing Processes & Methods.
Migrate Legacy Systems into New Platforms.
Software re-engineering.
Design and Maintain Client System.
8/14/2019 Synopsis for Image Factory
5/46
Design and Maintain Web Applications.
Infrastructure
Communication
Completely networked offices.
High bandwidth secure Internet infrastructure.
24 hour operations to facilitate Offshore project management.
Benefits
Shorter project duration Lower project budget
Access to rare or very specific skills
Software Facility
The software development facilities, which Zillio Matrix
shares with other companies, have:
100Mbit Ethernet switching network
2 Internet access channels with 512 and 256 Mbit/s per channel
For high Internet service availability
Corporate phone system with IP Telephony service
Projects
The projects undertaken are based on intranet, internet, application etc.
focused on particular domains. The company develops software for the
clients, act as a consultancy and also give
8/14/2019 Synopsis for Image Factory
6/46
SYSTEM STUDY
Introduction
8/14/2019 Synopsis for Image Factory
7/46
Existing System
Existing System of the image factory has the
disadvantage of pixilation due to the graphics resolution
problems
Existing System has the problem of compatibility only a
few formats are supported
Loading time has been much higher
Editor is not present in this model
Zoom is not present in the model
Graphics scale is not present in this model
8/14/2019 Synopsis for Image Factory
8/46
PROPOSED SYSTEM
Pixilation is overridden here because of the graphical
scales
Supports all types of formats
Loading time is quicker
Editor is present in the model
Zoom is present in the model
Easy understandability
User friendly
Benefits
Smoothening/Averaging a image
Converting a grey scale image to a Black White image
Bit reducing in a image
True Full Screen viewer with image zoom support and
unique fly-out menu panels
8/14/2019 Synopsis for Image Factory
9/46
SYSTEM SPECIFICATION
2.3 Hard ware Requirements:
Processor : Pentium IV
Processor : 2.4GHZ
Ram capacity : 256 MB
Hard Disk : 80 GB
Floppy Drive : 1.44 MB
Mouse : T.V.S Optical
Key board : Logitech
2.4 Soft ware Requirement:
Operating System - Windows 2000 Onwards
Front end - VB.Net
8/14/2019 Synopsis for Image Factory
10/46
SOFTWARE FEATURES
FRONT END: VISUAL BASIC.NET
Visual Basic. Net provides the easiest, most productive language and tool for
rapidly building windows and web applications. VB.Net is a Microsoft platform for XML
web services which allow application to communicate and share data over the internet
regardless of the operating system or programming language used.VB.Net comes with
enhanced visual designers, increased application performance integrated
environment(IDE).
BASIC FEATURES
Vb.Net comes with a powerful new form designer and in-place menu editor and
automatic control anchoring and docking.
The .Net framework has a foundation on which one can design, develop and deploy
application.
VB.Net delivers new productivity features for building more robust application easily
and quickly.
Using ADO.Net, VB.Net can gain high-speed access to MS SQL server, Oracle, DB2,
Ms-access and more.
COM interoperability offers seamless bi-directional communication between VB6.0
and VB.Net application.
VB.Net features include full implementation of inheritance, encapsulation and
polymorphism.
VB.Net framework offers integrated support for developing mobile web application
and supports a broad range of web services.
VB.Net provides role-based and code-access security. It also provides easy plugins.
VB.Net comes with an enhanced HTML editor for working with complex web pages.
8/14/2019 Synopsis for Image Factory
11/46
System design specification
User interface
8/14/2019 Synopsis for Image Factory
12/46
8/14/2019 Synopsis for Image Factory
13/46
8/14/2019 Synopsis for Image Factory
14/46
Design
FUNDAMENTALS OF DESIGN CONCEPTS
3.3DESIGN NOTATIONS
CONTEXT ANALYSIS DIAGRAM
A Context Analysis Diagram (CAD) consists of data flows, entities and only
one process. The input like user communication details, message details and the output
like reports being generated. The CAD of the system Project Team Data Mining is
shown in Fig 2.3.1.
BEHAVIORAL MODEL
DATA FLOW DIAGRAM
A Data Flow Diagram is the pictorial representation of the working of the
system. A Data Flow Diagram consists of a series of bubbles joined by lines. The bubbles
represent data transformation and lines represent data flow in those systems. A Data
Flow Diagram of the system Project TEAM DATA MINING is shown in Fig 2.4.1, Fig
2.4.2, and Fig 2.4.3.
DATA MODEL
ENTITY RELATIONSHIP DIAGRAM
Entity Relationship Diagram (ERD) is a model that describes the store layout of
a system at a high level abstraction. ER-Diagram enables to examine and highlight the
data structures and relationships between data stores in DFD. The relationship between
entity sets is represented by ER relations.
8/14/2019 Synopsis for Image Factory
15/46
The ERD for the system Project Team Data Mining is shown in the Fig 2.5.1 using the
following conventions.
An entity set is shown as a rectangle
A diamond represents the relationship among a number of entities.
Giving the cardinality ratio represents the type of relationship
existing between the entities.
8/14/2019 Synopsis for Image Factory
16/46
DATAFLOW DIAGRAM
8/14/2019 Synopsis for Image Factory
17/46
ANALYSIS
INPUT DESIGN
A screen is an actually a display station that has a buffer for storing data. The mainobjective of screen design is for simplicity, accurate and quick data capture or entry.
Our guidelines are:
Use the same format throughout the project.
Allow ample space to avoid data over crowding because it cause eyestrain and
may reduce the interest of the user.
Use easy to learn and consistent term such as Insert, Update and delete.
The input Design used in this system is Purchase form, Production form,
Package form, Marketing form and Sales form. The Input form Design for
IMAGE FACTORY
OUTPUT DESIGN
Report design is very important concept in the computerized system, without
reliable output the user may feel the entire system is unnecessary and avoids using it. The
proper output design is important in any system and facilitates effective decision making.
The report design of this system includes the following reports.
8/14/2019 Synopsis for Image Factory
18/46
CodingImports System.IOImports System.Drawing.Imaging
PublicClass frm_Editor Inherits System.Windows.Forms.Form
#Region" Windows Form Designer generated code "
PublicSubNew() MyBase.New()
'This call is required by the Windows Form Designer.InitializeComponent()
'Add any initialization after the InitializeComponent() call
EndSub
'Form overrides dispose to clean up the component list.
ProtectedOverloadsOverridesSub Dispose(ByVal disposing AsBoolean) If disposing Then IfNot (components IsNothing) Then
components.Dispose() EndIf EndIf MyBase.Dispose(disposing) EndSub
'Required by the Windows Form Designer Private components As System.ComponentModel.IContainer
'NOTE: The following procedure is required by the Windows FormDesigner 'It can be modified using the Windows Form Designer.
'Do not modify it using the code editor. FriendWithEvents MainMenu1 As System.Windows.Forms.MainMenu FriendWithEvents Timglst As System.Windows.Forms.ImageList FriendWithEvents MenuItem1 As System.Windows.Forms.MenuItem FriendWithEvents MenuItem2 As System.Windows.Forms.MenuItem FriendWithEvents btnopen As System.Windows.Forms.ToolBarButton FriendWithEvents btnsave As System.Windows.Forms.ToolBarButton FriendWithEvents sep As System.Windows.Forms.ToolBarButton FriendWithEvents zoomin As System.Windows.Forms.ToolBarButton FriendWithEvents zoomout As System.Windows.Forms.ToolBarButton FriendWithEvents zoom As System.Windows.Forms.ToolBarButton
FriendWithEvents Zmenu As System.Windows.Forms.ContextMenu FriendWithEvents MenuItem3 As System.Windows.Forms.MenuItem FriendWithEvents MenuItem4 As System.Windows.Forms.MenuItem FriendWithEvents MenuItem5 As System.Windows.Forms.MenuItem FriendWithEvents MenuItem6 As System.Windows.Forms.MenuItem FriendWithEvents MenuItem7 As System.Windows.Forms.MenuItem FriendWithEvents sep2 As System.Windows.Forms.ToolBarButton FriendWithEvents btnprint As System.Windows.Forms.ToolBarButton FriendWithEvents Scroll As System.Windows.Forms.ToolBarButton
8/14/2019 Synopsis for Image Factory
19/46
FriendWithEvents crop As System.Windows.Forms.ToolBarButton FriendWithEvents sep3 As System.Windows.Forms.ToolBarButton FriendWithEvents rotate As System.Windows.Forms.ToolBarButton FriendWithEvents flip As System.Windows.Forms.ToolBarButton FriendWithEvents sep4 As System.Windows.Forms.ToolBarButton FriendWithEvents levels As System.Windows.Forms.ToolBarButton FriendWithEvents sep5 As System.Windows.Forms.ToolBarButton FriendWithEvents btnExit As System.Windows.Forms.ToolBarButton FriendWithEvents btnDelete As System.Windows.Forms.ToolBarButton FriendWithEvents tb As System.Windows.Forms.ToolBar FriendWithEvents pnlimg As System.Windows.Forms.Panel FriendWithEvents imgPD As System.Drawing.Printing.PrintDocument FriendWithEvents StatusBar1 As System.Windows.Forms.StatusBar FriendWithEvents pnlCount As System.Windows.Forms.StatusBarPanel FriendWithEvents pnlName As System.Windows.Forms.StatusBarPanel FriendWithEvents pnlSize As System.Windows.Forms.StatusBarPanel FriendWithEvents pnldimension AsSystem.Windows.Forms.StatusBarPanel FriendWithEvents pnlLoaded As System.Windows.Forms.StatusBarPanel FriendWithEvents btnresize As System.Windows.Forms.ToolBarButton
FriendWithEvents MenuItem8 As System.Windows.Forms.MenuItem FriendWithEvents MenuItem9 As System.Windows.Forms.MenuItem FriendWithEvents MenuItem10 As System.Windows.Forms.MenuItem FriendWithEvents MenuItem11 As System.Windows.Forms.MenuItem FriendWithEvents MenuItem12 As System.Windows.Forms.MenuItem FriendWithEvents MenuItem13 As System.Windows.Forms.MenuItem FriendWithEvents MenuItem14 As System.Windows.Forms.MenuItem FriendWithEvents MenuItem15 As System.Windows.Forms.MenuItem FriendWithEvents MenuItem16 As System.Windows.Forms.MenuItem FriendWithEvents MenuItem17 As System.Windows.Forms.MenuItem FriendWithEvents MenuItem18 As System.Windows.Forms.MenuItem FriendWithEvents MenuItem19 As System.Windows.Forms.MenuItem FriendWithEvents MenuItem20 As System.Windows.Forms.MenuItem FriendWithEvents MenuItem21 As System.Windows.Forms.MenuItem FriendWithEvents MenuItem22 As System.Windows.Forms.MenuItem FriendWithEvents MenuItem23 As System.Windows.Forms.MenuItem FriendWithEvents MenuItem24 As System.Windows.Forms.MenuItem FriendWithEvents MenuItem25 As System.Windows.Forms.MenuItem FriendWithEvents MenuItem26 As System.Windows.Forms.MenuItem FriendWithEvents Dimg As System.Windows.Forms.PictureBox FriendWithEvents pnlXY As System.Windows.Forms.StatusBarPanel FriendWithEvents CropMenu As System.Windows.Forms.ContextMenu FriendWithEvents mnuSD As System.Windows.Forms.MenuItem FriendWithEvents CropTarget As System.Windows.Forms.ContextMenu FriendWithEvents mnuCropTarget As System.Windows.Forms.MenuItem FriendWithEvents pnlHelp As System.Windows.Forms.StatusBarPanel FriendWithEvents btnhelp As System.Windows.Forms.ToolBarButton
PrivateSubInitializeComponent() Me.components = New System.ComponentModel.Container() Dim resources As System.Resources.ResourceManager = NewSystem.Resources.ResourceManager(GetType(frm_Editor)) Me.MainMenu1 = New System.Windows.Forms.MainMenu() Me.MenuItem1 = New System.Windows.Forms.MenuItem() Me.MenuItem2 = New System.Windows.Forms.MenuItem() Me.MenuItem12 = New System.Windows.Forms.MenuItem() Me.MenuItem13 = New System.Windows.Forms.MenuItem()
8/14/2019 Synopsis for Image Factory
20/46
Me.MenuItem8 = New System.Windows.Forms.MenuItem() Me.MenuItem9 = New System.Windows.Forms.MenuItem() Me.MenuItem10 = New System.Windows.Forms.MenuItem() Me.MenuItem11 = New System.Windows.Forms.MenuItem() Me.MenuItem14 = New System.Windows.Forms.MenuItem() Me.MenuItem15 = New System.Windows.Forms.MenuItem() Me.MenuItem16 = New System.Windows.Forms.MenuItem() Me.MenuItem17 = New System.Windows.Forms.MenuItem() Me.MenuItem18 = New System.Windows.Forms.MenuItem() Me.MenuItem19 = New System.Windows.Forms.MenuItem() Me.MenuItem20 = New System.Windows.Forms.MenuItem() Me.MenuItem21 = New System.Windows.Forms.MenuItem() Me.MenuItem22 = New System.Windows.Forms.MenuItem() Me.MenuItem23 = New System.Windows.Forms.MenuItem() Me.MenuItem24 = New System.Windows.Forms.MenuItem() Me.MenuItem25 = New System.Windows.Forms.MenuItem() Me.MenuItem26 = New System.Windows.Forms.MenuItem() Me.tb = New System.Windows.Forms.ToolBar() Me.btnopen = New System.Windows.Forms.ToolBarButton() Me.btnsave = New System.Windows.Forms.ToolBarButton()
Me.btnprint = New System.Windows.Forms.ToolBarButton() Me.sep = New System.Windows.Forms.ToolBarButton() Me.zoomin = New System.Windows.Forms.ToolBarButton() Me.zoomout = New System.Windows.Forms.ToolBarButton() Me.zoom = New System.Windows.Forms.ToolBarButton() Me.Zmenu = New System.Windows.Forms.ContextMenu() Me.MenuItem3 = New System.Windows.Forms.MenuItem() Me.MenuItem4 = New System.Windows.Forms.MenuItem() Me.MenuItem5 = New System.Windows.Forms.MenuItem() Me.MenuItem6 = New System.Windows.Forms.MenuItem() Me.MenuItem7 = New System.Windows.Forms.MenuItem() Me.sep2 = New System.Windows.Forms.ToolBarButton() Me.Scroll = New System.Windows.Forms.ToolBarButton() Me.crop = New System.Windows.Forms.ToolBarButton() Me.sep3 = New System.Windows.Forms.ToolBarButton() Me.btnresize = New System.Windows.Forms.ToolBarButton() Me.rotate = New System.Windows.Forms.ToolBarButton() Me.flip = New System.Windows.Forms.ToolBarButton() Me.sep4 = New System.Windows.Forms.ToolBarButton() Me.btnDelete = New System.Windows.Forms.ToolBarButton() Me.levels = New System.Windows.Forms.ToolBarButton() Me.sep5 = New System.Windows.Forms.ToolBarButton() Me.btnhelp = New System.Windows.Forms.ToolBarButton() Me.btnExit = New System.Windows.Forms.ToolBarButton() Me.Timglst = New System.Windows.Forms.ImageList(Me.components) Me.CropMenu = New System.Windows.Forms.ContextMenu() Me.mnuSD = New System.Windows.Forms.MenuItem()
Me.Dimg = New System.Windows.Forms.PictureBox() Me.CropTarget = New System.Windows.Forms.ContextMenu() Me.mnuCropTarget = New System.Windows.Forms.MenuItem() Me.pnlimg = New System.Windows.Forms.Panel() Me.imgPD = New System.Drawing.Printing.PrintDocument() Me.StatusBar1 = New System.Windows.Forms.StatusBar() Me.pnlCount = New System.Windows.Forms.StatusBarPanel() Me.pnlName = New System.Windows.Forms.StatusBarPanel() Me.pnlSize = New System.Windows.Forms.StatusBarPanel() Me.pnldimension = New System.Windows.Forms.StatusBarPanel()
8/14/2019 Synopsis for Image Factory
21/46
Me.pnlLoaded = New System.Windows.Forms.StatusBarPanel() Me.pnlXY = New System.Windows.Forms.StatusBarPanel() Me.pnlHelp = New System.Windows.Forms.StatusBarPanel() Me.pnlimg.SuspendLayout() CType(Me.pnlCount,System.ComponentModel.ISupportInitialize).BeginInit() CType(Me.pnlName,System.ComponentModel.ISupportInitialize).BeginInit() CType(Me.pnlSize,System.ComponentModel.ISupportInitialize).BeginInit() CType(Me.pnldimension,System.ComponentModel.ISupportInitialize).BeginInit() CType(Me.pnlLoaded,System.ComponentModel.ISupportInitialize).BeginInit() CType(Me.pnlXY,System.ComponentModel.ISupportInitialize).BeginInit() CType(Me.pnlHelp,System.ComponentModel.ISupportInitialize).BeginInit() Me.SuspendLayout() '
'MainMenu1 ' Me.MainMenu1.MenuItems.AddRange(NewSystem.Windows.Forms.MenuItem() {Me.MenuItem1, Me.MenuItem14,Me.MenuItem19, Me.MenuItem23, Me.MenuItem25}) ' 'MenuItem1 ' Me.MenuItem1.Index = 0 Me.MenuItem1.MenuItems.AddRange(NewSystem.Windows.Forms.MenuItem() {Me.MenuItem2, Me.MenuItem12,Me.MenuItem13, Me.MenuItem8, Me.MenuItem9, Me.MenuItem10,Me.MenuItem11}) Me.MenuItem1.Text = "&File " ' 'MenuItem2 ' Me.MenuItem2.Index = 0 Me.MenuItem2.Text = "Open" ' 'MenuItem12 ' Me.MenuItem12.Index = 1 Me.MenuItem12.Text = "Close" ' 'MenuItem13 '
Me.MenuItem13.Index = 2 Me.MenuItem13.Text = "-" ' 'MenuItem8 ' Me.MenuItem8.Index = 3 Me.MenuItem8.Text = "Export" ' 'MenuItem9 '
8/14/2019 Synopsis for Image Factory
22/46
Me.MenuItem9.Index = 4 Me.MenuItem9.Text = "Print" ' 'MenuItem10 ' Me.MenuItem10.Index = 5 Me.MenuItem10.Text = "-" ' 'MenuItem11 ' Me.MenuItem11.Index = 6 Me.MenuItem11.Text = "E&xit" ' 'MenuItem14 ' Me.MenuItem14.Index = 1 Me.MenuItem14.MenuItems.AddRange(NewSystem.Windows.Forms.MenuItem() {Me.MenuItem15, Me.MenuItem16,Me.MenuItem17, Me.MenuItem18}) Me.MenuItem14.Text = "&View "
' 'MenuItem15 ' Me.MenuItem15.Index = 0 Me.MenuItem15.Text = "Zoom In" ' 'MenuItem16 ' Me.MenuItem16.Index = 1 Me.MenuItem16.Text = "Zoom Out" ' 'MenuItem17 ' Me.MenuItem17.Index = 2 Me.MenuItem17.Text = "-" ' 'MenuItem18 ' Me.MenuItem18.Index = 3 Me.MenuItem18.Text = "Best Fit" ' 'MenuItem19 ' Me.MenuItem19.Index = 2 Me.MenuItem19.MenuItems.AddRange(NewSystem.Windows.Forms.MenuItem() {Me.MenuItem20, Me.MenuItem21,Me.MenuItem22})
Me.MenuItem19.Text = "&Image " ' 'MenuItem20 ' Me.MenuItem20.Index = 0 Me.MenuItem20.Text = "Resize" ' 'MenuItem21 ' Me.MenuItem21.Index = 1
8/14/2019 Synopsis for Image Factory
23/46
Me.MenuItem21.Text = "Rotate" ' 'MenuItem22 ' Me.MenuItem22.Index = 2 Me.MenuItem22.Text = "Flip" ' 'MenuItem23 ' Me.MenuItem23.Index = 3 Me.MenuItem23.MenuItems.AddRange(NewSystem.Windows.Forms.MenuItem() {Me.MenuItem24}) Me.MenuItem23.Text = "&Adjust " ' 'MenuItem24 ' Me.MenuItem24.Index = 0 Me.MenuItem24.Text = "&Levels" ' 'MenuItem25
' Me.MenuItem25.Index = 4 Me.MenuItem25.MenuItems.AddRange(NewSystem.Windows.Forms.MenuItem() {Me.MenuItem26}) Me.MenuItem25.Text = "&Help " ' 'MenuItem26 ' Me.MenuItem26.Index = 0 Me.MenuItem26.Text = "About" ' 'tb ' Me.tb.Appearance = System.Windows.Forms.ToolBarAppearance.Flat Me.tb.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle Me.tb.Buttons.AddRange(New System.Windows.Forms.ToolBarButton(){Me.btnopen, Me.btnsave, Me.btnprint, Me.sep, Me.zoomin, Me.zoomout,Me.zoom, Me.sep2, Me.Scroll, Me.crop, Me.sep3, Me.btnresize, Me.rotate,Me.flip, Me.sep4, Me.btnDelete, Me.levels, Me.sep5, Me.btnhelp,Me.btnExit}) Me.tb.DropDownArrows = True Me.tb.ImageList = Me.Timglst Me.tb.Name = "tb" Me.tb.ShowToolTips = True Me.tb.Size = New System.Drawing.Size(778, 56) Me.tb.TabIndex = 0 '
'btnopen ' Me.btnopen.ImageIndex = 1 Me.btnopen.Text = "Open" ' 'btnsave ' Me.btnsave.ImageIndex = 2 Me.btnsave.Text = "Save" '
8/14/2019 Synopsis for Image Factory
24/46
'btnprint ' Me.btnprint.ImageIndex = 3 Me.btnprint.Text = "Print" ' 'sep ' Me.sep.Style = System.Windows.Forms.ToolBarButtonStyle.Separator ' 'zoomin ' Me.zoomin.ImageIndex = 11 Me.zoomin.Text = "Zoom In" ' 'zoomout ' Me.zoomout.ImageIndex = 12 Me.zoomout.Text = "Zoom Out" ' 'zoom
' Me.zoom.DropDownMenu = Me.Zmenu Me.zoom.ImageIndex = 15 Me.zoom.Style =System.Windows.Forms.ToolBarButtonStyle.DropDownButton Me.zoom.Text = "Zoom" ' 'Zmenu ' Me.Zmenu.MenuItems.AddRange(New System.Windows.Forms.MenuItem(){Me.MenuItem3, Me.MenuItem4, Me.MenuItem5, Me.MenuItem6, Me.MenuItem7}) ' 'MenuItem3 ' Me.MenuItem3.Index = 0 Me.MenuItem3.Text = "Full Image" ' 'MenuItem4 ' Me.MenuItem4.Index = 1 Me.MenuItem4.Text = "Fit Image" ' 'MenuItem5 ' Me.MenuItem5.Index = 2 Me.MenuItem5.Text = "Fit Width" '
'MenuItem6 ' Me.MenuItem6.Index = 3 Me.MenuItem6.Text = "Fit Height" ' 'MenuItem7 ' Me.MenuItem7.Index = 4 Me.MenuItem7.Text = "Lock" '
8/14/2019 Synopsis for Image Factory
25/46
'sep2 ' Me.sep2.Style =System.Windows.Forms.ToolBarButtonStyle.Separator ' 'Scroll ' Me.Scroll.ImageIndex = 10 Me.Scroll.Text = "Scroll" ' 'crop ' Me.crop.ImageIndex = 8 Me.crop.Text = "Crop" ' 'sep3 ' Me.sep3.Style =System.Windows.Forms.ToolBarButtonStyle.Separator '
'btnresize ' Me.btnresize.ImageIndex = 9 Me.btnresize.Text = "Resize" ' 'rotate ' Me.rotate.ImageIndex = 5 Me.rotate.Text = "Rotate" ' 'flip ' Me.flip.ImageIndex = 7 Me.flip.Text = "Flip" ' 'sep4 ' Me.sep4.Style =System.Windows.Forms.ToolBarButtonStyle.Separator ' 'btnDelete ' Me.btnDelete.ImageIndex = 4 Me.btnDelete.Text = "Delete" ' 'levels '
Me.levels.ImageIndex = 6 Me.levels.Text = "Levels" ' 'sep5 ' Me.sep5.Style =System.Windows.Forms.ToolBarButtonStyle.Separator ' 'btnhelp '
8/14/2019 Synopsis for Image Factory
26/46
8/14/2019 Synopsis for Image Factory
27/46
Me.pnlimg.BackColor = System.Drawing.Color.Black Me.pnlimg.Controls.AddRange(New System.Windows.Forms.Control(){Me.Dimg}) Me.pnlimg.Location = New System.Drawing.Point(0, 56) Me.pnlimg.Name = "pnlimg" Me.pnlimg.Size = New System.Drawing.Size(778, 440) Me.pnlimg.TabIndex = 2 ' 'imgPD ' ' 'StatusBar1 ' Me.StatusBar1.Location = New System.Drawing.Point(0, 498) Me.StatusBar1.Name = "StatusBar1" Me.StatusBar1.Panels.AddRange(NewSystem.Windows.Forms.StatusBarPanel() {Me.pnlCount, Me.pnlName,Me.pnlSize, Me.pnldimension, Me.pnlLoaded, Me.pnlXY, Me.pnlHelp}) Me.StatusBar1.ShowPanels = True Me.StatusBar1.Size = New System.Drawing.Size(778, 22)
Me.StatusBar1.TabIndex = 3 ' 'pnlName ' Me.pnlName.AutoSize =System.Windows.Forms.StatusBarPanelAutoSize.Contents Me.pnlName.Width = 10 ' 'pnlHelp ' Me.pnlHelp.Width = 400 ' 'frm_Editor ' Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13) Me.BackColor = System.Drawing.Color.Black Me.BackgroundImage =CType(resources.GetObject("$this.BackgroundImage"),System.Drawing.Bitmap) Me.ClientSize = New System.Drawing.Size(778, 520) Me.Controls.AddRange(New System.Windows.Forms.Control(){Me.StatusBar1, Me.pnlimg, Me.tb}) Me.FormBorderStyle =System.Windows.Forms.FormBorderStyle.FixedDialog Me.Icon = CType(resources.GetObject("$this.Icon"),System.Drawing.Icon) Me.MaximizeBox = False
Me.Menu = Me.MainMenu1 Me.MinimumSize = New System.Drawing.Size(784, 552) Me.Name = "frm_Editor" Me.Text = "Editor" Me.WindowState = System.Windows.Forms.FormWindowState.Maximized Me.pnlimg.ResumeLayout(False) CType(Me.pnlCount,System.ComponentModel.ISupportInitialize).EndInit() CType(Me.pnlName,System.ComponentModel.ISupportInitialize).EndInit()
8/14/2019 Synopsis for Image Factory
28/46
CType(Me.pnlSize,System.ComponentModel.ISupportInitialize).EndInit() CType(Me.pnldimension,System.ComponentModel.ISupportInitialize).EndInit() CType(Me.pnlLoaded,System.ComponentModel.ISupportInitialize).EndInit() CType(Me.pnlXY,System.ComponentModel.ISupportInitialize).EndInit() CType(Me.pnlHelp,System.ComponentModel.ISupportInitialize).EndInit() Me.ResumeLayout(False)
EndSub
#EndRegion
#Region"Declarations" Dim pp AsNew frm_PrintPreview()
Dim PrevPosX AsInteger Dim PrevPosY AsInteger
Dim recW AsInteger Dim recH AsInteger
#EndRegion
#Region"Methods"
'''----------------------------------------------------------------------------- ''' ''' This method will be used by the program to Export Image inDifferent Formats ''' e.g. in JPG, GIF, BMP & PNG. ''' ''' ''' Used PictureBox.Image's Save Property. ''' ''' ''' [Admin] 4/28/2007 Created ''' '''-----------------------------------------------------------------------------
Sub ExportImage()
Dim sdlg AsNew SaveFileDialog()
With sdlg
.Title = "Export Image File"
.Filter = "JPEG (*.jpg)|*.jpg|GIF (*.gif)|*.gif|BMP(*.bmp)|*.bmp|PNG (*.png)|*.png"
8/14/2019 Synopsis for Image Factory
29/46
EndWith
If sdlg.ShowDialog = DialogResult.OK Then
SelectCase sdlg.FilterIndex
Case 1
Me.Dimg.Image.Save(sdlg.FileName, ImageFormat.Jpeg)
Case 2
Me.Dimg.Image.Save(sdlg.FileName, ImageFormat.Gif)
Case 3
Me.Dimg.Image.Save(sdlg.FileName, ImageFormat.Bmp)
Case 4
Me.Dimg.Image.Save(sdlg.FileName, ImageFormat.Png)
EndSelect
EndIf
EndSub
'''----------------------------------------------------------------------------- ''' ''' This method will be used by the program to Fit the image in theeditor. ''' ''' ''' ''' ''' [Admin] 4/28/2007 Created ''' '''----------------------------------------------------------------------------- Sub FitImage() Me.Dimg.Width = Me.pnlimg.Width
Me.Dimg.Height = Me.pnlimg.HeightCenterImage()
EndSub
'''----------------------------------------------------------------------------- ''' ''' This method will be used by the program to fill the Panels ''' of Status Bar present in frm_Editor.
8/14/2019 Synopsis for Image Factory
30/46
''' ''' ''' ''' ''' [Admin] 4/28/2007 Created ''' '''----------------------------------------------------------------------------- Sub FillPanels()
Me.pnlName.Text = imgName
Dim ext() AsString = Split(imgName, ".")
SelectCase ext(1).ToString
Case"jpg", "JPG" Me.pnlName.Icon = New Icon(Application.StartupPath &"\jpg.ico")
Case"gif", "GIF" Me.pnlName.Icon = New Icon(Application.StartupPath &"\gif.ico")
Case"bmp", "BMP" Me.pnlName.Icon = New Icon(Application.StartupPath &"\bmp.ico")
Case"png", "PNG" Me.pnlName.Icon = New Icon(Application.StartupPath &"\png.ico")
EndSelect
Dim fsize AsNew FileInfo(imgPath4mlvimgs) Dim i AsInteger = CInt(CType(fsize.Length, Integer)) / 1024 Me.pnlSize.Text = CStr(i) & " KB"
Dim pic AsNew Bitmap(imgPath4mlvimgs) Me.pnldimension.Text = pic.Width.ToString & " x " &pic.Height.ToString
Me.pnlCount.Text = imgsCurnCnt
'Time to load Dim RunLength As System.TimeSpan = Now.Subtract(StartTime)
Dim Millisecs AsInteger = RunLength.Milliseconds
'Convert it to secs Dim secs AsInteger = Millisecs / 1000
Me.pnlLoaded.Text = "Loaded in " & secs.ToString & " Secs" EndSub
8/14/2019 Synopsis for Image Factory
31/46
'''----------------------------------------------------------------------------- ''' ''' This method will be used by the program to display the selectedimage in the Editor. ''' ''' ''' Used System.IO.FileInfo class in order to extract just the Nameof the File. ''' ''' ''' [AliAmjad] 4/28/2007 Created ''' '''----------------------------------------------------------------------------- Sub DisplayImage()
Dim open AsNew OpenFileDialog()
With open
.Title = "Select Image File"
.Filter = "Image Files (*.jpg;*.gif;*.bmp)|*.jpg;*.gif;*.bmp|All Files (*.*)|*.*"
.Multiselect = False
EndWith
If open.ShowDialog = DialogResult.OK Then
Me.Dimg.Image = Image.FromFile(open.FileName)imgPath4mlvimgs = open.FileName
Dim finfo AsNew FileInfo(open.FileName)imgName = finfo.Name
EndIfCenterImage()
EndSub
'''----------------------------------------------------------------------------- '''
''' This method will be used by the program to Zoom in the Image inthe Editor. ''' ''' ''' This method will Zoom In the Image as well as keep it in center. ''' ''' ''' [Admin] 4/28/2007 Created '''
8/14/2019 Synopsis for Image Factory
32/46
'''----------------------------------------------------------------------------- Sub ZoomInImage()
FullImage() Me.Dimg.Width = CInt(Me.Dimg.Width * 1.25) Me.Dimg.Height = CInt(Me.Dimg.Height * 1.25) Me.Dimg.SizeMode = PictureBoxSizeMode.StretchImage
CenterImage() EndSub
'''----------------------------------------------------------------------------- ''' ''' This method will be used by the program to Zoom out the Imagein the Editor. ''' ''' ''' This method will zoom out the image as well as keep it in
center. ''' ''' ''' [Admin] 4/28/2007 Created ''' '''----------------------------------------------------------------------------- Sub ZoomOutImage()
FullImage() Me.Dimg.Width = CInt(Me.Dimg.Width / 1.25) Me.Dimg.Height = CInt(Me.Dimg.Height / 1.25) Me.Dimg.SizeMode = PictureBoxSizeMode.StretchImage
CenterImage() EndSub
'''----------------------------------------------------------------------------- ''' ''' This is the main method for keeping the image in center. ''' ''' ''' This is the main method for keeping the image in center. ''' ''' ''' [Admin] 4/28/2007 Created
''' '''----------------------------------------------------------------------------- Sub CenterImage()
Dimg.Left = Me.pnlimg.Width / 2 - Dimg.Width / 2Dimg.Top = Me.pnlimg.Height / 2 - Dimg.Height / 2
EndSub
8/14/2019 Synopsis for Image Factory
33/46
'''----------------------------------------------------------------------------- ''' ''' This method will be used by the program to Display the Image inits Full Size. ''' ''' ''' This method will display the image in its full size. ''' ''' ''' [Admin] 4/28/2007 Created ''' '''----------------------------------------------------------------------------- Sub FullImage()
IfMe.Dimg.Image.Width < Me.Dimg.Width AndMe.Dimg.Image.Height
< Me.Dimg.Height Then Me.Dimg.SizeMode = PictureBoxSizeMode.CenterImage EndIf
CalculateAspectRatioAndSetDimensions()CenterImage()
EndSub#EndRegion
#Region"Functions" '''----------------------------------------------------------------------------- ''' ''' This Function will be used by the program to Calculate theAspect Ratio and setting Image's ''' Dimensions. ''' ''' Double ''' ''' This method will be used to Calculate the Aspect Ratio andsetting Image's ''' Dimensions. ''' ''' ''' [Admin] 4/28/2007 Created '''
'''----------------------------------------------------------------------------- PrivateFunction CalculateAspectRatioAndSetDimensions() AsDouble ' Calculate the proper aspect ratio and set the image'sdimensions. Dim ratio AsDouble If Dimg.Image.Width > Dimg.Image.Height Then
ratio = Dimg.Image.Width / _Dimg.Image.Height
8/14/2019 Synopsis for Image Factory
34/46
Dimg.Height = CInt(CDbl(Dimg.Width) / ratio) Else
ratio = Dimg.Image.Height / _Dimg.Image.Width
Dimg.Width = CInt(CDbl(Dimg.Height) / ratio) EndIf
Return ratio EndFunction#EndRegion
#Region"Events"
PrivateSub frm_Editor_Closing(ByVal sender AsObject, ByVal e AsSystem.ComponentModel.CancelEventArgs) HandlesMyBase.Closing
ReceivedFocus4mEditor = True EndSub
PrivateSub MenuItem20_Click(ByVal sender As System.Object, ByVal eAs System.EventArgs) Handles MenuItem20.Click
Dim res AsNew frm_Resize()res.ShowDialog()
EndSub
PrivateSub Dimg_DoubleClick(ByVal sender As System.Object, ByVal eAs System.EventArgs) Handles Dimg.DoubleClick
Me.Close()
EndSub
PrivateSub ToolBar1_ButtonClick(ByVal sender As System.Object,ByVal e As System.Windows.Forms.ToolBarButtonClickEventArgs) Handlestb.ButtonClick
SelectCase tb.Buttons.IndexOf(e.Button) Case 0 'open
Me.Dimg.Refresh()DisplayImage()FillPanels()
Me.pnlCount.Text = "" Me.Cursor = Cursors.Default Me.crop.Pushed = False Me.Scroll.Pushed = False Me.pnlHelp.Text = ""
Case 1 'save
Me.Dimg.Refresh()ExportImage()
Me.Cursor = Cursors.Default Me.Scroll.Pushed = False Me.crop.Pushed = False Me.pnlHelp.Text = ""
Case 2 'print
8/14/2019 Synopsis for Image Factory
35/46
8/14/2019 Synopsis for Image Factory
36/46
Me.crop.Pushed = False Me.pnlHelp.Text = ""
Case 9 'crop
If crop.Pushed = FalseThen
Me.crop.Pushed = True 'displayCropRec()
Else
Me.crop.Pushed = False Me.Dimg.Refresh()
EndIf
Me.Scroll.Pushed = False Me.Cursor = New Cursor(Application.StartupPath &"\crop.cur")
Me.pnlHelp.Text = "Click and Drag your mouse at desiredpart then right click and select Crop."
Case 10 'sep
Case 11 'Resize
Dim res AsNew frm_Resize()res.ShowDialog()
Me.pnlHelp.Text = "" Case 12
Me.Dimg.Refresh()
Dim Rot AsNew frm_Rotate()Rot.RImg.Image = Me.Dimg.ImageRot.ShowDialog()
Me.Cursor = Cursors.Default
Me.Scroll.Pushed = False Me.crop.Pushed = False Me.pnlHelp.Text = ""
Case 13
Me.Dimg.Refresh()
Dim flip AsNew frm_Flip()flip.FImg.Image = Me.Dimg.Imageflip.ShowDialog()
Me.Cursor = Cursors.Default Me.Scroll.Pushed = False Me.crop.Pushed = False Me.pnlHelp.Text = ""
Case 14
8/14/2019 Synopsis for Image Factory
37/46
'sep
Case 15
Me.Dimg.Refresh() If MessageBox.Show("Do you really want to delete " &imgName & " ?", "Image Factory", MessageBoxButtons.YesNo,MessageBoxIcon.Question) = DialogResult.Yes Then
Me.Dimg.Image = Nothingpimg.Dispose()img.Dispose()File.Delete(imgPath4mlvimgs)
EndIf Me.Cursor = Cursors.Default
Me.crop.Pushed = False Me.Scroll.Pushed = False Me.pnlHelp.Text = ""
Case 16
Me.Dimg.Refresh()
Dim levels AsNew frm_Levels()levels.Bimg.Image = Me.Dimg.Imagelevels.ShowDialog()
Me.Cursor = Cursors.Default
Me.Scroll.Pushed = False Me.crop.Pushed = False Me.pnlHelp.Text = ""
Case 17 'sep
Case 18 Dim ab AsNew frm_About()
ab.ShowDialog() Me.pnlHelp.Text = ""
Case 19
Me.Dimg.Refresh()
Me.Close() Me.Cursor = Cursors.Default Me.Scroll.Pushed = False Me.crop.Pushed = False
EndSelect
EndSub
8/14/2019 Synopsis for Image Factory
38/46
PrivateSub frm_Editor_Load(ByVal sender AsObject, ByVal e AsSystem.EventArgs) HandlesMyBase.Load
FullImage()
FillPanels()
ZoomInImage()
EndSub
PrivateSub MenuItem3_Click(ByVal sender As System.Object, ByVal eAs System.EventArgs) Handles MenuItem3.Click
FullImage() EndSub
PrivateSub MenuItem4_Click(ByVal sender As System.Object, ByVal eAs System.EventArgs) Handles MenuItem4.Click
FitImage() EndSub
PrivateSub MenuItem5_Click(ByVal sender As System.Object, ByVal eAs System.EventArgs) Handles MenuItem5.Click
FullImage() Me.Dimg.Width = Me.pnlimg.Width
CenterImage() EndSub
PrivateSub MenuItem6_Click(ByVal sender As System.Object, ByVal eAs System.EventArgs) Handles MenuItem6.Click
FullImage() Me.Dimg.Height = Me.pnlimg.Height
CenterImage() EndSub
PrivateSub frm_Editor_Activated(ByVal sender AsObject, ByVal e AsSystem.EventArgs) HandlesMyBase.Activated
Me.Dimg.Refresh() Me.Dimg.Invalidate()
CenterImage()
EndSub
'''----------------------------------------------------------------------------- ''' ''' This method will be used by the program to position the imageon the paper
8/14/2019 Synopsis for Image Factory
39/46
8/14/2019 Synopsis for Image Factory
40/46
EndSub
PrivateSub MenuItem11_Click(ByVal sender As System.Object, ByVal eAs System.EventArgs) Handles MenuItem11.Click Me.Close() EndSub
PrivateSub MenuItem15_Click(ByVal sender As System.Object, ByVal eAs System.EventArgs) Handles MenuItem15.Click
ZoomInImage() EndSub
PrivateSub MenuItem16_Click(ByVal sender As System.Object, ByVal eAs System.EventArgs) Handles MenuItem16.Click
ZoomOutImage() EndSub
8/14/2019 Synopsis for Image Factory
41/46
System testingTesting is a serious of different tests that whose primary purpose is to fully
exercise the computer based system. Although each test has a different purpose, all work
should verify that all system element have been properly integrated and performed
allocated function. Testing is the process of checking whether the developed system
works according to the actual requirement and objectives of the system.
The philosophy behind the testing is to find the errors. A good test is one that has a
high probability of finding an undiscovered error. A successful test is one that uncovers
the undiscovered errors. Test cases are devised with this purpose in mind. A test case is a
set of data that the system will process as an input. However the data are created with the
intent of determining whether the system will process them correctly without any errors
to produce the required output.
The testing phase, an unavoidable `part of software development promotes error
detection, a complete verification determining whether the objectives and the user
requirements are fulfilled. The system test is based on the following:
PROGRAM TESTING
Program testing promotes an error free program by correcting syntax and logical
error. When a program is tested the actual output is compared with the expected output.
When there is a dispensary the sequence of the instruction must be traced to determine
the problem.
INTEGRATION TESTING
In integration testing all modules are clipped under the major module and tested
again to verify the results. A module can have inadvertent, adverse affect on any other or
on the global data structure, causing serious problems. A problem arising due to the poor
interfacing such as data loss is corrected in this phase.
8/14/2019 Synopsis for Image Factory
42/46
SEQUENTIAL OR SERIES TESTING
Sequential or series testing is checking the logic of one or more programs in the
candidate system, when the output of one program will affect the processing done by
other program.
ASSERTION- DRIVEN TESTING
Assertions are logic predicates written at the source code level to describe
relationships among components of the current program state and relationships between
program states. An assertion violation can alter the execution sequence, because
recording of state component information for later processing, or trap control to the
programmers terminal. Assertion violation transfer control to the programmers terminal
is called conditional break points. Conditional break points are state dependent, while
unconditional break point is instruction dependent.
SYSTEM TESTING
System testing, the final step uncovers the weakness not found in early stages.
This involves validation and testing which determines whether the software functions
such as the user expect it. Modifications are made so that the completion phase it satisfies
the end-user.
There should be careful planning of how the system will be provoked and the
test data design. The system analyst should be quiet clear about the test objectives.
System test data can rarely be compressive enough to test the system fully. Some aspects
of the system will have to be tested using live operation.
8/14/2019 Synopsis for Image Factory
43/46
SYSTEM MAINTANANCE AND IMPLEMENTATION
System implementation is stage in the project whether the theoretical design is
turned into the working system. It is the process of converting a new system into
operation. The implementation phase of the software development is concerned with
translating design specification into source code. The most crucial stage is giving the
users confidence that the system will work effectively and efficiently.
The implementation phase of the software needs specific skills responsible for
effective implementation. The skills may fall in the area of languages, tools of
development and the new emerging technologies and its application. The performance of
reliability of the system is tested and it gained acceptance. The software reliability is the
ability of a program to perform a required function under a stated condition for a stated
period of time. Thus the system was implemented successfully.
Proper implementation is essential to provide a reliable system to meet
organizational requirements. During the implementation stage a live demon was
undertaken and made in front of end users. The implementation is a stage of project when
the system design is turned into a working system.
8/14/2019 Synopsis for Image Factory
44/46
8/14/2019 Synopsis for Image Factory
45/46
SCOPE FOR FURTHER ENHANCEMENT
The project title IMAGE FACTORY is developed successfully from mostly
all the modules. The further development of this project can be to host this project to the
Internet.
Advantages
Reduces the time consumption.
Fast and Economical.
Crystal-clear and customizable one-click image magnifier
Multi-level Undo/Redo capability
One-touch best fit/actual size image display support
Print images with full page-layout control
8/14/2019 Synopsis for Image Factory
46/46
9. BIBLIOGRAPHY
Books Referred:
1. Alex Homer , Professional VB.NET 1.1, 2004 Edition, Wrox Publications
2. Steven Holzner, Visual Basic.NET Black Book, 2003 Edition, Dreamtech
Publications
3. Roger S Pressman, Software Engineering, 2000 Edition, Dreamtech
Publications
Websites:
1. www.msdn.microsoft.com
2. www.vbcity.com
3. www.vbdotnetheaven.com
4. www.codeguru.com