473,804 Members | 2,034 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to select an image/picture in vb and edit it?

1 New Member
Hi, I'm very new to VB and I am using visual basic 2010 express.

I have to write a program that is capable of simple image processing:

The user must be able to type in the path and name of an image file or browse for the file (jpg and bmp). When a filename has been entered the image must appear in a Picture Box on the form. The colour of each pixel in the image should then be inspected and stored in one or more arrays. Once the array(s) have been filled, all the image processing features on the rest of the form should be made available to the user.

And then the editing:

Each pixel in the image consists of the three colour components Red, Green and Blue. The user must have the facility to:-

1 Create a new image (based on the original image) in a second picture box where the user has control over the 3 colours used to recreate it. Provide the user with 3 scroll bars to control the amount of red, green and blue to be used.

2. Brighten or darken the image using another scroll bar.

3. Provide at least 3 options to flip or rotate the image in the second Picture Box

4. Go to any point in the original image using the mouse and find out the colour as well as the Red, Green and Blue components of any given pixel.

5. Carry out another image processing feature of your choice (not rotate or flip), e.g. turn black & white, blur image.

How do I achieve this? I've tried looking into books, I don't understand the programming language that well, can you please help me.
Dec 4 '10 #1
0 1786

Sign in to post your reply or Sign up for a free account.

Similar topics

1
1607
by: Sims | last post by:
Hi, I have a web site where the users can propose articles to be published. But in the form the user can also send me a picture to illustrate the article they are proposing. Now I want to offer them 3 choices, either the picture comes from their machine, from my an image directory in my site or from the web.
2
453
by: Mansi | last post by:
I'm trying to automate Excel 2003 from Visual C# .Net. Is it possible to export an picture/image file from c# to excel? If so, how do you do this? Are there any code examples available? Thanks. Mansi
1
8148
by: Alec | last post by:
Hi All, I am currently using an unbound OLE object to display images stored in a folder. I want to be able to print these images from their normal format (it just happens that these are A4 scanned documents) so they would simply come out as 1 sheet and good quality. I have a print button on my form, and one image is displayed per record. How can this be done using an Unbound OLE Object? Or will I have to use an Image Frame?
4
12855
by: NASAdude | last post by:
I'm working on distributing a database using VS Tools for Office, and am having trouble with linked images on forms/reports. The image objects have a default path\file set on the .Picture property, which becomes invalid when the user installs the database (ie: c:\devpath\ becomes c:\program files\mydbapp, but the .Picture property still points to c:\devpath\) The problem is that I don't *know* what installation path the user will select,...
5
2131
by: GU | last post by:
Is it possible to use an simple cgi script to select one graphic dynamically and use this one as background image? if using <body background="/httpdocs/pics/test.jpg"> blah </body> i'll get this backgroung picture. but i want to get the backgroungimage dynamically. so i'd like to use an simple cgi script <body background="/cgi-bin/test.pl"> blah </body>
0
1213
by: Stan SR | last post by:
Hi, I use a repeater that calls a page where I display an image (sorry for my english ;) ) This page performs a webRequest to capture a jpg file And with the result I resize the picture and make OutputStream I have 2 questions :
2
2581
by: Tarik Monem | last post by:
OK! I've gone through a few tutorials and I cannot understand what I'm doing wrong casting_registration.php <table> <tr> <td> <form enctype="multipart/form-data" action="thankyou.php" method="post" name="registrationform"> Choose a shows:
1
2844
by: Breana | last post by:
Is it possible to use php to load an image in a form when a user selects it from the dropdown box? I want them to be able to select there avatar but there is way to many to put onto the form so i made a "select menu" with all 45 avatars. I want it to show the image when selected, so the default (Please choose) shows the image no image selected, and after they pick one lets say avatar_1 it'll show a ghost where the default no image was. So...
1
1484
by: sareeka | last post by:
mean if we select mango pic: it show in selectedpicbox:, if we select orangepic: it show in selectedpicbox , if we select apple pic: it show in selectedpicbox
0
9711
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10594
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10343
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9166
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6861
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5529
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5667
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4306
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3001
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.