|
-
Nov 6th, 2001, 12:28 PM
#1
Thread Starter
Member
JPG format
Hello,
I want to read JPG images to use their bitmaps.
Anybody knows something about this graphic format?
I need some code or specifications
Thanks
-
Nov 6th, 2001, 12:41 PM
#2
jpeg format: search for jpeg or jpg at www.wotsit.org
Opinion: you're better off using somebody else's COM object.
VB 6 comes with Kodak ImgEdit, and MS Photoshop has jpeg1x32.dll and jpeg2x32.dll support for jpeg processing.
-
Nov 6th, 2001, 05:49 PM
#3
Also try here for a lot of sample code - some VB some C++
http://www.eistream.com/support_pro/...ample_code.htm
-
Nov 6th, 2001, 08:46 PM
#4
Hyperactive Member
Writing a routine to open JPG files is no joke.
These past few days, I happened to be reading a 47KB text file on JPG from wosit.org. I am halfway finished. What a long file.
This text file only covered one type of the 3 jpg compressions, sigh....(The author say it is better to explain the JPG compression so as to understand decompression). Actually I only need that decompression part only.
I have not yet come to the part where it explains the file format, only the compression part finished. I hope to finish reading that text file tonight.
After reading the beginning part a few times, I more or less understand what it is trying to say. I have some unsure questions regarding the text which I have no one to ask.
To decompress the file, you have to decode a continuous string of bits(Not bytes). Bits decoding, anyone?Huffman coding?
I am sure I can do the bits decoding(Just give my routines half an hour to open that JPG file if I ever succeed in writing them, j/k). It is some parts in the text which I am unclear, had me worrying about programming.
If I am 100% clear, I can solve whatever programming problem,but just give my routines half an hour to open one jpg file.j/k
Anyway, Roberto, is there anyway you can use GDI+? I heard GDI+ support opening jpg files. Sigh, me using win98 first edition.
Or return to VB's Image control or picturebox control.
"*knock* *knock*, huh? this is a C++ forum."
Just my 2 cents.
-
Nov 6th, 2001, 09:11 PM
#5
Lively Member
JPG
Hi Rob,
Check out the Intel Jpeg Library
http://developer.intel.com/software/...s/perflib/ijl/
This will be a great help in opening/manipulating jpegs etc.
Best Regards,
Ben Smith.
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
|