• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 225
  • 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Featured Post

Become an Android App Developer

Ready to kick start your career in 2018? Learn how to build an Android app in January’s Course of the Month and open the door to new opportunities.

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