Click to See Complete Forum and Search --> : Bitmap to Jpeg (once more :-@ )
yfh
March 23rd, 1999, 04:01 AM
Hello,
It seems a lot of people want to have possibilities to save pictures in jpeg format, with very simple encoding routine/control. that does include me.
Any time the question is posted, there are useless answers for using commercial imaging software (! - not joking, see lower in the board), or useless multi-many-functions expensives OCXes, or free sample OCX (twisted pixel) which do not work, or whatever obnoxious advice which is not what people are waiting for in the end.
So, the question is :
Doed anyone have anything close to the following :
- free of use
- written / usable in VB environment
- which will encode a given "picture" (property of a picturebox / image control) as jpeg file
TIA
Ravi Kiran
March 25th, 1999, 03:31 AM
Hi,
I too am looking for a dll/algorithm that will convert a jpeg to BMP.
Any helpers, please!
Ravi
Chris Eastwood
March 29th, 1999, 09:27 AM
I've just posted this in response to Ravi's question, but if you're interested in writing your own conversion code,
http://www.wotsit.org/index.htm
Have the format specifications for GIF/BMP/JPG and 100's of other file formats - it's pretty heavy going though.
You might want to ask this question on some of the 'comp.' or 'microsoft.' related newsgroups - you can access these through the CodeGuru website.
Good Luck
Chris Eastwood
Codeguru - the website for developers
http://www.codeguru.com/vb
jruck
October 21st, 1999, 02:00 PM
did you ever find the other way, convert jpeg to BMP?
i am looking for this.
BrewGuru99
October 21st, 1999, 03:15 PM
I don't need this or anything, but isn't there any public-domain source code out there that shows the basics on displaying and converting the major image types? It would be very useful when learning how images work. (It's a bit of a learning curve when all you have to go off of is the image file type specifications.)
I think actually having the source code is far more benificial than just using another ocx. (Stand alone comes to mind.)
Brewguru99
January 6th, 2000, 05:46 PM
You guys act like you have never heard of Yahoo!
All the source for reading and writing jpegs is available at
the Independent JPEG Group's site. It is freely downloadable
and you can compile your own code. In fact, their readme file
even notes the the code is meant to be built into a library
so you can use it in your apps.
-OR-
Look for CImage.zip somewahere on the net by Julian Smart. This is all of
the code you need to do jpegs, tiff, bmps, pngs, and the underlying zlib
needed. Here one good part about this - there is also a nice full blown
CImage C++ class and source, AND several nice working example apps with
source, AND even Windows Help files on how to use it all, AND the best thing about it is that it is all MFC, already in Visual C++ 4 projects! I compiled
with only 1 small error and maybe 5 easy to fix warnings in VC++ 6, and it all
runs fine.
-OR-
Step up and buy some nice control like Lead Tools, that you know will work
correctly, and requires very little code on you end. Don't worry, I used to
dislike buying ActiveX controls myself because I wanted to know how everything
worked and never wanted to shell any money, but trust me, there is better way.
Buy a control.
Crazy D @ Work
January 7th, 2000, 02:02 AM
I downloaded a zip called dijpgdll.zip . Sorry, forgot where I found it.. think I saw the url in either this msgboard or at vbworld.net. That allows you to save a bitmap as jpg. The other way, jpg to bmp is easy. (SavePicture Function).
Crazy D @ Work :-)
alex1973
January 31st, 2000, 01:27 AM
May I have that ? Please.
Thank you.
(amaguran@hotmail.com)
Armin Bahl
April 22nd, 2000, 03:33 AM
It'll be great if you sent me this file, because i realy need a code which converts jpg to bmp and back.
Tank you very much. ArminBahl@gmx.de
Mikesc
April 23rd, 2000, 01:26 AM
I don't know if someone else already suggested this cause I didn't take the time to read all the posts but...
One of the best sites on the web for vb stuff besides this one of course is
www.vbaccelerator.com
I believe they have a type library there and example code for converting images to jpeg. All free.
If not, the guy who runs the site is great about answering email and would probably know where to find help...
Eddie Leong
October 13th, 2000, 02:35 AM
Hi,
Can you send that DLL to me?
eddieleong@hotmail.com
Jerryls
October 14th, 2000, 06:26 PM
About buying controls, Softuarium sells some nice image controls for $30 -royalty free in compiled programs. It may not be free, but it's the next best thing.
http://www.softuarium.com/
Le Cartographe
October 26th, 2000, 10:22 AM
I've found a snippet wich may be intersting :
http://catenary.com/howto/bmp2jpeg.html
Hope this helps !
----------
Laurent JEGOU
Cartographic Engineer and Infographer
University of Toulouse-Le Mirail
Toulouse, France.
----------
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.