Solved

Tranforming bmp to jpg file without using dll

Posted on 2002-04-04
3
217 Views
Last Modified: 2013-11-20
I want to transform a bmp to jpg file without having to use a dll (static linked library is ok). Does any one know where I can find some info about it?
0
Comment
Question by:chual
  • 2
3 Comments
 
LVL 86

Expert Comment

by:jkr
ID: 6919083
Paintlib is a great library for that - see http://www.paintlib.de/paintlib/
0
 
LVL 86

Accepted Solution

by:
jkr earned 150 total points
ID: 6919091
0
 

Author Comment

by:chual
ID: 6929435
Thanks jkr. It looks great. But have you happend to use it before? I am still having problem using it. At present time, I have problem at at least two places. One place is at jpeg_CreateCompress in "jcapimin.c" where the last parameter "structsize" always report wrong size - 344, while it is supposed to be 360. The other place is at "jpeg_write_scanlines". It is so weird that the data member of the first parameter "cinfo", eg. next_scanline never get updated in the calling routine (in jpegFile.cpp, as a result cinfo.next_scanline always stay zero) but does get updated inside the called routine. When I debugged it I can see that the next_scanline is get incremented from the last call inside the "jpeg_write_scanlines" routine. Do you have any idea why? Thank you.

chual
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
mixString challenge 36 120
Prevent this page from creating additional dialogs. 3 512
maven archtype selection in eclipse 1 57
twoTwo  challenge 35 101
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

813 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

17 Experts available now in Live!

Get 1:1 Help Now