Jpeg creation

I’m spending more time on this board than I should be today because I’m stuck on a problem at work. It’s taken me all morning to realize that I might want to consider asking a board visited by thousands of smart folks if they know a solution to my problem.

I need to create a program that creates a jpeg image. I really don’t care what language is used to create the program but I do need the end result in a simple exe file. I can’t use an existing program like photoshop because I need the creation of the jpeg image to be automatic. Actually, I’m not even concerned that the image be a jpeg, gif is fine too.

It seems to be a relatively easy task to create a bmp image using visual basic. The difficulty lies in converting that sucker to a format that is usable on the web. I’ve been messing around with the IJG Jpeg libarary in Visual C++ and been having a hard time with it. I’m not that use to Visual C++ and am unsure of what I have to do with the library or where to put the library in order to make function calls to it.

I’m not having much luck with it.

Does anyone know of any other jpeg libraries, or if Visual C++ comes with jpeg or gif capability, or any example code of jpeg or gif creation?

I’m not going to be much help, but you just need to make sure the lib is in your lib path in VisualStudio in order to make function calls to it. I would do this in the global settings rather than the project specific settings, but either way should work.

In java it’s quite easy, however you won’t get a .exe to run. You can however create a batch file to execute the java program.

Anyway, you should be able to find sample source code to do something similar on the web. I did something like this, but that was at another company, so I don’t have my code anymore.

Try searching on “Java JPEG dynamic image create”, or something similar. If you have no java experience though, this route is probably not worth following up on.