Solved

Jpeg pictures

Posted on 1999-01-18
6
221 Views
Last Modified: 2010-05-03
In visual basic 5.0 the picturebox control now lets you load
jpeg files into it. After loading a jpeg in the picturebox
the picture looks very bad. All the colors in the picture
are not displayed. Microsoft didnt put much effort into
displaying jpeg's. I know vb5 can process this files and
display them with all there colors intact and quite nicely
might i add. I would like to learn how to do that using vb5.
Is there any vb code on the internet that could help me get
started in image processing? If you know how to do this could you help me?
0
Comment
Question by:poorboy
  • 3
  • 2
6 Comments
 
LVL 14

Accepted Solution

by:
waty earned 200 total points
ID: 1469346
VB5 Displays well the JPEG files, using your screen configuration.

Is your screen well configured : 16 Millions colors?

You could also find other OCX for Image processing.
See on :
   http://skylinetools.com/imagelib/news/cs_actx.html
   www.Activex.com
0
 
LVL 69

Expert Comment

by:Éric Moreau
ID: 1469347
I had that problem a couple of month ago.

To correct this, I now use the WebBrowser control which displays jpeg files correctly.
0
 

Author Comment

by:poorboy
ID: 1469348
You misunderstand what i would like to do. I know there are controls out there just for this purpose, but i would like to learn how to use vb5 code to do it myself. If i use other peoples controls i will never learn how to do these things. Can you direct me to a web page that will let me download vb5 sample projects on jpeg imaging?
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 14

Expert Comment

by:waty
ID: 1469349
You can't do it in VB. If you want to write an OCX for viewing JPG, or even other images format, you need to do it under VC++
0
 

Author Comment

by:poorboy
ID: 1469350
To Waty:
I think your wrong. I think vb can do image processing and when i find out how it's done
i'll let you know. Your idea about changing my screen resolution did work. Now vb5's
picturebox control does a beautiful job at displaying 24 bit jpeg's. Thank-you,but i'd still
like to learn how to do image processing with vb.
0
 
LVL 14

Expert Comment

by:waty
ID: 1469351
If you con on my web site (see profile), you will find some source code to start.
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now