Solved

Compressing and decompressing bitmap to and from jpeg in memory

Posted on 2002-03-06
15
292 Views
Last Modified: 2010-04-17
 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
0
Comment
Question by:jasg
  • 6
  • 2
  • 2
  • +5
15 Comments
 
LVL 1

Expert Comment

by:madface
ID: 6844951
http://www.cs.ruu.nl/people/jeroen/article/jpeg/
go  there
or do a search on the jpeg specs
0
 
LVL 3

Expert Comment

by:ygal02
ID: 6846904
Try Ilib:
www.radix.net/~cknudsen/Ilib

It supports both jpeg and bmp.

Good Luck !
0
 
LVL 3

Expert Comment

by:ygal02
ID: 6846905
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).
0
 
LVL 4

Expert Comment

by:ct.smith
ID: 6852256
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
0
 
LVL 24

Expert Comment

by:SunBow
ID: 6861267
0
 
LVL 24

Expert Comment

by:SunBow
ID: 6861301
PaintShopPro for the snapshots:
http://www.jasc.com/
0
 
LVL 24

Expert Comment

by:SunBow
ID: 6861310
For Visual add-on tools, shop @:
http://www.vbxtras.com
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 24

Expert Comment

by:SunBow
ID: 6861337
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)
0
 
LVL 24

Expert Comment

by:SunBow
ID: 6861345
>or do a search on the jpeg specs

ditto, emphasis on last letter. It is a plural. (be_aware)
0
 
LVL 4

Expert Comment

by:ct.smith
ID: 6861363
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!
0
 

Expert Comment

by:quirkyquirky
ID: 7299416
0
 
LVL 24

Expert Comment

by:SunBow
ID: 7300302
quirkyquirky's answers are so-o boring!
0
 

Expert Comment

by:ComTech
ID: 7300657
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
0
 
LVL 54

Expert Comment

by:nico5038
ID: 7508101

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)
0
 

Accepted Solution

by:
Jgould earned 0 total points
ID: 7547995
Question has been closed as per recommendation

JGould-EE Moderator
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
countHi challenge 25 98
C Programming - If Statement 8 72
tvirtualstringtree freeze when load too manny images 10 52
C# Error - Add Failed 12 78
A short article about problems I had with the new location API and permissions in Marshmallow
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

929 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now