Solved

Tranforming bmp to jpg file without using dll

Posted on 2002-04-04
3
219 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Importing Special Characters in Dynamics GP Through Integration Manager 3 82
if loop in java 3 153
Sed question 2 103
Detect file exist or not 3 180
Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
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.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

828 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