Solved

Jpeg pictures

Posted on 1999-01-18
6
225 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 70

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
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

830 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