|
-
Dec 7th, 1999, 07:41 PM
#1
Thread Starter
Lively Member
Does anybody know how to save an image from a picture box as a jpeg file,GIF file or some smaller file formats instead of the bitmap files which are large in size????
-
Sep 20th, 2002, 02:54 AM
#2
Member
try
Private Sub Command1_Click()
SavePicture Picture1, "c:\xxx.jpg"
End Sub
Private Sub Form_Load()
Picture1.Picture = LoadPicture("c:\yyy.gif")
End Sub
-
Sep 20th, 2002, 03:04 AM
#3
Frenzied Member
Re: try
Originally posted by vb cub
Private Sub Command1_Click()
SavePicture Picture1, "c:\xxx.jpg"
End Sub
Private Sub Form_Load()
Picture1.Picture = LoadPicture("c:\yyy.gif")
End Sub
It would only change the extension and icon... but the format would remain same...i.e. bitmap...
I wish it were that simple...
You may need the Intel Jpeg Library... it is a dll which provides you the functions which convert BMP to JPG and vice versa..
-
Sep 20th, 2002, 03:10 AM
#4
Member
-
Sep 20th, 2002, 03:14 AM
#5
Frenzied Member
Yes, Moinkhan, you are correct. The Intel JPEG library is what you need. If your app is for commercial use you will have to register and pay a licence fee too. Its similar to mp3
There are 3 types of people in this world.........those that can count, and those that can't.
Blobby
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|