In Progress

Display a portion of a jpg image

I need two vb6 subroutines (yes, must be Visual Basic Version 6)

******************************************************************************

1. Call GetPortionOfPage

(ImageIn,ImageOut,X,Y,Width,Height,ReturnCode)

example:Call GetPortionOfPage("d:\scanned\[url removed, login to view]","d:\scanned\temp\[url removed, login to view]",2,3,4.5,4)

******************************************************************************

2. Call DisplayImage(ImageIn,Top,Left,Width,Height,ReturnCode)

ImageIn=filename of an image in jpg format.

example: c:\temp\[url removed, login to view]

## Deliverables

I need two vb6 subroutines (yes, must be Visual Basic Version 6)

******************************************************************************

1. Call GetPortionOfPage(ImageIn,ImageOut,X,Y,Width,Height,ReturnCode)

******************************************************************************

example:Call GetPortionOfPage("d:\scanned\[url removed, login to view]","d:\scanned\temp\[url removed, login to view]",2,3,4.5,4)

ImageIn=filename of a scanned image of one sheet of paper 8.5 x 11 inch in jpg format.

example: [\\server\data\[url removed, login to view]][1]

? ? ? ? ? ? ? ? c:\scanned data\[url removed, login to view]

ImageOut=filename of out image.

? ? ? c:\temp\[url removed, login to view]

X = number of decimal inches from the top of the image down

Y = number of decimal inches from the left edge of the image over toward the right

Width = the decimal width of the sub image in inches

Height = the decimal height of the sub image in inches

Units=Inches

ReturnCode = for the routine to return any error codes or any other codes

the routine wishes to communicate back to the calling routine

the portion of the image will have the same resolution, and proportional to

that of the orginal image

If the calling x,y is out of bound then obviously you cannot return any image.

If the calling width is out of bound then treat it as if the width go to the

right edge of the original image.

If the calling Heigh is out of bound then treat if as if the height to to the

bottom edge of the original image.

******************************************************************************

2. Call DisplayImage(ImageIn,Top,Left,Width,Height,ReturnCode)

******************************************************************************

ImageIn=filename of an image in jpg format.

example: c:\temp\[url removed, login to view]

Top? ? = Top of window where image is to be displayed

Left? = Left edge of window where image is to be displayed

Width = Width of window where image is to be displayed

Height= Height of window where image is to be displayed

Units=Inches

ReturnCode = for the routine to return any error codes or any other codes

the routine wishes to communicate back to the calling routine

Task:Open window with top left corner at TOP and LEFT. Set window width to

WIDTH and set window height to? HEIGHT. Load picture and resize picture to

fit by the width of the window.

If the height of the image to too long then put a vertical scroll bar. If the

height of the image is shorter than the height of the window then fill the

empty area of the window with a FILLER COLOR.

You would never need a horizontal scroll bar

because you always resize the width of the picture to that of the window.

Always keep the original image proportion.

Skills: Engineering, Microsoft, MySQL, PHP, Software Architecture, Software Testing, Visual Basic, Windows Desktop

See more: visual basic x, image by paper, example of a, Window Display, image resolution, fill image, display color x as color x, horizontal color bar, vb6 always top, test visual basic, scanned image, scroll image vb6, load php data scroll, resolution resize vb6, load data scroll, fit width image, display test, routine visual basic, scanned paper, scroll load data php, load data scroll php, php load data scroll, paper format php, data filler, vb6 codes

About the Employer:
( 2 reviews ) United States

Project ID: #3964817

Awarded to:

desktopguru

See private message.

$42.5 USD in 14 days
(26 Reviews)
5.0

6 freelancers are bidding on average $62 for this job

rudybear

See private message.

$85 USD in 14 days
(51 Reviews)
6.0
anilkmalik

See private message.

$42.5 USD in 14 days
(0 Reviews)
0.0
stefan900

See private message.

$68 USD in 14 days
(0 Reviews)
0.0
waseemarid

See private message.

$85 USD in 14 days
(1 Review)
0.0
piticutz19

See private message.

$51 USD in 14 days
(0 Reviews)
0.0