Solved

Tranforming bmp to jpg file without using dll

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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Handling string inputs in C/Linux 23 167
GIF file bit manipulation for color change 5 104
Unix / Linux grid computing 5 127
post4 challenge 28 83
Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

705 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

21 Experts available now in Live!

Get 1:1 Help Now