Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Image Viewer Control Options

Status
Not open for further replies.

mvachon

Programmer
May 22, 2002
10
0
0
US
Hello All,
I've recently been working on a simple image viewer that will allow viewing of several file types (BMP,JPG,TIF, for starters). I'm using the IMGEDIT.OCX control in VB6. The problem I've run into is that this control won't recognize some files, particularly JPG files pulled directly from my Nikkon digital camera! There must be a header issue as it won't even register a valid file type with this control (tried using this as an error trapping method). I can open the offending image with MS PhotoEd, save it as another file and then view the newer image with this control without error. Any suggestions, pointers on other controls that will handle a wider variety of images?
 

Not that this may help, but here it is. What you can do in the background is load the offending jpeg into a picture box control and save it as a bmp.

BTW, the PBC can display bmp, wmf, emf, jpg/jpeg, gif, pcx (and maybe some more that I can't remember)

Good Luck

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top