Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 228
  • Last Modified:

Image conversion

Hi All,

   I wanna convert a bmp file to gif or jpg format in vb.

0
Tension
Asked:
Tension
1 Solution
 
HobbitHouseCommented:
do you mean that you want to embed you own code in vb to do this?  That's a REALLY bad idea.  Just find a 3rd party tool that will do the job and create a "shell" command to do it.
0
 
Roshan DavisCommented:
You can use IPicture interface and its function SaveAsFile() to convert the file.

GOOD LUCK
0
 
TensionAuthor Commented:
Hi roshmon,
   Can you explain me in detail, the use of it in vb?
0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
Roshan DavisCommented:
You can use IPicture interface and its function SaveAsFile() to convert the file.

GOOD LUCK
0
 
TensionAuthor Commented:
Hi roshmon,
   Can you explain me in detail, the use of it in vb?
0
 
Roshan DavisCommented:
Wait, I will find...

You can also find this from MSDN by searching IPicture "Visual Basic"

Roshmon
0
 
Éric MoreauSenior .Net ConsultantCommented:
0
 
kafzaalCommented:
Hi

You can use imgedit control to do so

Load a picture to ImgEdit control

i.e.

ImgEdit1.FitTo 0
ImgEdit1.Image = "c:\abc.bmp"

then use this to convert it to jpg
ImagEdit1.SaveAs Destination[,FileType,PageType,CompressionType,CompressionInfo,SaveAtZoom]


all these types u can get from the Kodak Imagedit controls help file

regards
Kashif
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now