Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Tranforming bmp to jpg file without using dll

Posted on 2002-04-04
3
Medium Priority
?
232 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
[X]
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
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 450 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

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

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…
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…
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.
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…

598 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