|
-
Aug 15th, 2002, 08:04 AM
#1
Thread Starter
Hyperactive Member
BMP to JPEG conversation
Hi all,
I want to convert BMP files into JPEG/JPG file because BMP files size is more. (around 1 MB. each) How can i convert them into JPEG programatically? Any API's? I want them in JPEG format as its size is almost 10 times less than BMP.
Help Me..
Anita
Last edited by anita2002; Aug 17th, 2002 at 10:51 AM.
Can't imagine life without VB
(Various Boyfriends)
-
Aug 15th, 2002, 08:13 AM
#2
Frenzied Member
This should help. I didnt read it all though
http://dilib.hypermart.net/dl/dijpg.htm
-
Aug 15th, 2002, 10:09 AM
#3
Software Eng.
-
Aug 15th, 2002, 10:37 AM
#4
Frenzied Member
-
Aug 15th, 2002, 10:38 AM
#5
Frenzied Member
Does anyone else see this?
-
Aug 16th, 2002, 10:44 PM
#6
PowerPoster
just keep in mind that BMP files are "lossless" and JPEG files are "lossy". That probably doesn't matter for your needs, but you should be aware of it in case it does.
-
Aug 16th, 2002, 10:57 PM
#7
Frenzied Member
-
Aug 17th, 2002, 12:39 AM
#8
Thread Starter
Hyperactive Member
Originally posted by phinds
just keep in mind that BMP files are "lossless" and JPEG files are "lossy". That probably doesn't matter for your needs, but you should be aware of it in case it does.
Hi Phinds,
Can u explain it more clearly? What do u want to say?
"lossless" & "lossy"? Anyway, i can't afford 1MB for a single file. If i can convert it in JPEG format, it becomes less than even 50 kb. in size..
But i just want to do it programatically..
Help.
Anita
Can't imagine life without VB
(Various Boyfriends)
-
Aug 17th, 2002, 12:45 AM
#9
PowerPoster
-
Aug 17th, 2002, 12:48 AM
#10
Thread Starter
Hyperactive Member
Originally posted by TomGibbons
Does anyone else see this?
Hi Tomgibbon,
I tried http://dilib.hypermart.net/dl/dijpg.htm
and even searched on www.planetsourcecde.com ("psc")
Even i found some examples on "psc". But they are not working....
Can anyone have code???
Please help..
Anita
Can't imagine life without VB
(Various Boyfriends)
-
Aug 17th, 2002, 12:49 AM
#11
PowerPoster
-
Aug 17th, 2002, 01:06 AM
#12
Thread Starter
Hyperactive Member
Originally posted by MidgetsBro
^^^ See my post ^^^
Thanks MidgetsBro,
U'r code worked perfectly...
It solved my problem...
Anita..
Can't imagine life without VB
(Various Boyfriends)
-
Aug 17th, 2002, 01:08 AM
#13
PowerPoster
I knew that would help. I've posted it many times before.
-
Aug 17th, 2002, 11:28 AM
#14
Thread Starter
Hyperactive Member
Hi all,
Sorry for opening this issue once again...
Actually i got the answer by post of MidgetsBro. The code is working fine. But that code uses a dll file for this. Can anyone knows how it can be done without using a dll file? Any solution?
please help..
Anita
Can't imagine life without VB
(Various Boyfriends)
-
Aug 17th, 2002, 12:41 PM
#15
PowerPoster
JPEG is "lossy" means that it throws away some of the graphic information. That's how it is able to be so small. all the information isn't there. As long as the picture does not look fuzzy when you display it, there is no problem. Most web pages use JPEG except for very small images, which are GIF (no loss).
Why are DLLs a problem? MANY things in VB programming have to be done with DLLs. You should get used to using them
-
Aug 17th, 2002, 01:04 PM
#16
PowerPoster
Take a look at this link. You have the source code, but its still in C++.
-
Aug 17th, 2002, 01:54 PM
#17
PowerPoster
I doubt there is a way to do this without a DLL. VB wasn't made to allow users to create complex compression algorithms. C++ is better in that area, and that is most likely what this DLL was created in. You can search the net, but you will probably not find any code to do this in VB. Everything will be done in C or C++.
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
|