ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 [ask] Difference CMYK colour from input and output

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
agus pranoto Posted - Aug 25 2016 : 21:16:33
hi
i have try "Burn Copyright" aplication on demo page http://www.imageen.com/demos/index.html

i have an image with cmyk format for pure yellow=> C=0, M=0, Y=100, K=0
after open on tha demo aplication and saved than open result image
it's change diference CMYK output C=5, M=2, Y=95, K=0
why it's happen?






8   L A T E S T    R E P L I E S    (Newest First)
agus pranoto Posted - Sep 21 2016 : 22:03:55
from your last posted, i understand what your explanation.

i'm using corel to created my file
i think corel is using color profile



corel is using CMYK colour profile U.S Web Coted(SWOP) v2

this is icc profile that corel used

attach/agus pranoto/201692122134_USWebCoatedSWOP.zip
376.73 KB

how i implement into my project by using external icc profile.
xequte Posted - Sep 07 2016 : 17:02:46
We have completed our investigation:

This jpeg contains an embedded ICC profile. ImageEn can use the embedded ICC profile to convert from CMYK to RGB (sRGB), but this is not enabled by default. So the right way to load this image is:

IEGlobalSettings().EnableCMS := true;
ImageEnView.IO.LoadFromFile('201682641431_DIJUAL 100X100.jpg');

However using the embedded profile you will not have a pure yellow, but 255,241,0. This is normal, because it is using the ICC color profile (there isn't a direct relation from CMYK to RGB values).


When a jpeg doesn't contain an ICC profile then ImageEn uses a default profile to convert from CMYK to RGB. THIS IS THE DEFAULT BEHAVIOR, even when the jpeg contains its own profile. Using the ImageEn profile you will have 255,236,0 for the yellow.

IEGlobalSettings().UseCMYKProfile := true; // <- this is already the default!
ImageEnView.IO.LoadFromFile('201682641431_DIJUAL 100X100.jpg');


To have pure yellow you have to disable CMS (already the default) and ImageEn ICC profile (not the default):

IEGlobalSettings().UseCMYKProfile := false;
ImageEnView.IO.LoadFromFile('201682641431_DIJUAL 100X100.jpg');

In this case you will have 255,255,0 for the yellow.

This method can produce wrong (unrealistic) colors on photographic images.


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
agus pranoto Posted - Aug 31 2016 : 20:59:11
hi nigel
i try every demo ( compiled program ) on this site than Contain saved function have the same result and the same problem
have diffrent color composition between input and output altough saved in difference format
xequte Posted - Aug 31 2016 : 00:13:33
Thanks, I can reproduce the issue and will investigate.


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
agus pranoto Posted - Aug 30 2016 : 02:22:33
actualy i'm software developer too.
early i want to use imageen to use in my project, but after my experiment and see what happen on that result that's way i'm asking to this forum.
i'm using delphi 7
here code how i saving the file

ImageEnView2.IO.Params.JPEG_ColorSpace:=ioJPEG_CMYK;
ImageEnView2.IO.Params.SetDefaultParams;
ImageEnView2.IO.SaveToFile(ExecuteSaveDialog('', '', false, 1, ''));

i'm using imageen version 5.2.0
xequte Posted - Aug 29 2016 : 01:27:58
Hi

What version of ImageEn are you using?



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
agus pranoto Posted - Aug 26 2016 : 04:33:10
I use JPEG Format, Quality 100%

Original file


Result File


xequte Posted - Aug 26 2016 : 01:26:13
Hi

What format are you saving the image to? (i.e. is it a lossy format like JPEG). Can you attach a before and after image.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com