Search found 2 matches

by 9tontruck
2012-09-24T14:47:17-07:00
Forum: Magick++
Topic: color of new image is not right
Replies: 0
Views: 7055

color of new image is not right

Here is my code:

ColorRGB d;
d.blue(240.0);
d.green(210.0);
d.red(8.0);
d.alpha(0);
Image image(Geometry(width, height), d);
image.write("01.jpg");


The written image is not correct..
in case of "#define MAGICKCORE_QUANTUM_DEPTH 8" output image is (rgb = 0,1,47) which does not make sense ...
by 9tontruck
2012-07-19T17:18:39-07:00
Forum: Users
Topic: Newbie questions.. please help!!
Replies: 1
Views: 3974

Newbie questions.. please help!!

Hi guys

I am working on color tone shifting so playing with ICC/ICM profile. I have a ICM file and I need to embed it to a JPG file.
Below is my code:

#include "Magick++.h"
using namespace Magick;
char* img_name = "samsung.jpg";
char* icm_name = "Samsung_to_Cannon.icm";

Image image;
image ...