ImageEnIO1.LoadFromFile(OpenDialog1.FileName);
ImageEnIO1.Params.JPEG_ColorSpace := ioJPEG_CMYK;
temp.c := 200;
temp.m := 0;
temp.y := 0;
temp.k := 0;
ImageEnIO1.IEBitmap.Pixels_ieCMYK[100,100] := temp;
temp.c := 0;
temp.m := 200;
temp.y := 0;
temp.k := 0;
ImageEnIO1.IEBitmap.Pixels_ieCMYK[100,101] := temp;
temp.c := 0;
temp.m := 0;
temp.y := 200;
temp.k := 0;
ImageEnIO1.IEBitmap.Pixels_ieCMYK[101,100] := temp;
temp.c := 0;
temp.m := 0;
temp.y := 0;
temp.k := 200;
ImageEnIO1.IEBitmap.Pixels_ieCMYK[101,101] := temp;
ImageEnIO1.SaveToFileJpeg(ExtractFileDir(OpenDialog1.FileName) + '\result_' + ImageEnIO1.Params.FileTypeStr + '.jpg');
attach/MIRIDIH/201583233033_test.zip
1539.14 KB