intelbrain
Limp Gawd
- Joined
- Aug 3, 2001
- Messages
- 313
i have to work on a project that take raw images and convert to jpeg. Is there any sample code that i can look at? or any other suggestion welcome. I'm doing it in c++.
Thanks
Thanks
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
If that, then we need to know which vendor's RAW format is (or are) in question.NEODARK said:
MonkeyShave said:Why do you have to code it in C++?
intelbrain said:i have to code it using c++, basicly a program to take images say .bmp and convert them to jpeg files. I;m still looking for the lib.
// compile me:
// cl magic.cpp /EHsc /link CORE_RL_magick_.lib CORE_RL_Magick++_.lib X11.lib
#include <iostream>
#include <Magick++.h>
using namespace std;
using namespace Magick;
int main(int argc, char *argv[])
{
InitializeMagick(*argv);
Image image;
image.read("image.bmp");
image.write("image.jpeg");
return 0;
}