Link to home
Start Free TrialLog in
Avatar of jasg
jasg

asked on

Compressing and decompressing bitmap to and from jpeg in memory

 Hi.

  I need code to compress/decompress bitmap images in JPEG without passing through a file, it must be done completelly in memory for speed's sake.

Thanks.
Jose Serpa
Avatar of madface
madface

http://www.cs.ruu.nl/people/jeroen/article/jpeg/
go  there
or do a search on the jpeg specs
Try Ilib:
www.radix.net/~cknudsen/Ilib

It supports both jpeg and bmp.

Good Luck !
PS
You didn't specify programming language, the above library is in c.
It's easy to use and have examples with it (if c is your programming language).
Not that this is immediately applicable, but Gamasutra has just run an article regarding JPEG compression/decompression.  It does pick out a few nice subtleties about the time critical paths and such, maakes it worth a read.

http://www.gamasutra.com/features/20020306/iorio_01.htm
PaintShopPro for the snapshots:
http://www.jasc.com/
For Visual add-on tools, shop @:
http://www.vbxtras.com
fyi, this link
> but Gamasutra has just run

locked me up, destroyed my IE go-back buttons, asked for password and demanded enabling cookies. (beware)
>or do a search on the jpeg specs

ditto, emphasis on last letter. It is a plural. (be_aware)
Oh, forgot about the password thing.  Start at www.gamasutra.com to register.  They're good about not spamming or dropping lots of tracking cookies, and the content is good, so registration is worthwhile there.

But destroying IE's buttons!  Hee, hee, yet another reason not to use IE!
quirkyquirky's answers are so-o boring!
This person has been suspended for multiple violations of the Member Agreement, and will reject the proposed answer, and return your question to the Active Questions List.  The Moderator Group is deleting all 388 locked questions.

These were posted by three persons:

quirkyquirky
EliteKiller
liloXwin
 
Thank you,
ComTech
CS Admin @ EE

No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
 - PAQ'd and pts removed
Please leave any comments here within the
next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !

Nic;o)
ASKER CERTIFIED SOLUTION
Avatar of Jgould
Jgould

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial