Compressing images in JPEG under UNIX

Posted on 2003-02-24
Medium Priority
Last Modified: 2010-04-15
I want to write a C-program that convert an image under Unix into JPEG-format. This muss be a part of a greater program. How can I do it?
Is there a spezial library that I can use to do it?
Thanks for your help.

Question by:spentang
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2

Expert Comment

ID: 8007612
hello, have a look their
or http://www.ijg.org/ to get the faq

Accepted Solution

daravuth earned 200 total points
ID: 8007619
or http://www.ijg.org/ to get the faq

Independent JPEG Group's free JPEG software

This package contains C software to implement JPEG image compression and
decompression.  JPEG is a standardized compression method for full-color
and gray-scale images.  JPEG is intended for "real-world" scenes; cartoons
and other non-realistic images are not its strong suit.  JPEG is lossy,
meaning that the output image is not identical to the input image.
The user can trade off output image quality against compressed file size
by adjusting a compression parameter.

The distributed programs provide conversion between JPEG "JFIF" format and
image files in PBMPLUS PPM/PGM, GIF, BMP, and Targa file formats.  The
core compression and decompression library can easily be reused in other
programs, such as image viewers.  The package is highly portable C code;
we have tested it on many machines ranging from PCs to Crays.

We are releasing this software for both noncommercial and commercial use.
Companies are welcome to use it as the basis for JPEG-related products.
We do not ask a royalty, although we do ask for an acknowledgement in
product literature (see the README file in the distribution for details).
We hope to make this software industrial-quality --- although, as with
anything that's free, we offer no warranty and accept no liability.

For more information, contact jpeg-info@uunet.uu.net.
LVL 20

Expert Comment

ID: 10018114
Nothing has happened on this question in over 10 months. It's time for cleanup!

My recommendation, which I will post in the Cleanup topic area, is to
accept answer by daravuth.


EE Cleanup Volunteer

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

An Outlet in Cocoa is a persistent reference to a GUI control; it connects a property (a variable) to a control.  For example, it is common to create an Outlet for the text field GUI control and change the text that appears in this field via that Ou…
This tutorial is posted by Aaron Wojnowski, administrator at SDKExpert.net.  To view more iPhone tutorials, visit www.sdkexpert.net. This is a very simple tutorial on finding the user's current location easily. In this tutorial, you will learn ho…
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use while-loops in the C programming language.
The goal of this video is to provide viewers with basic examples to understand how to create, access, and change arrays in the C programming language.
Suggested Courses

771 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