Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
ChingYen  
#1 Posted : Thursday, November 8, 2012 2:35:40 PM(UTC)
ChingYen

Rank: Advanced Member

Groups: Member
Joined: 3/3/2008(UTC)
Posts: 185

Thanks: 8 times
Hi,

We read this article
http://forums.aurigma.co....aspx?search=icc+profile

and this
http://forums.aurigma.com/yaf_postsm4668.aspx

plus
http://www.aurigma.com/d...eCMMwithGraphicsMill.htm

Basically, we know how to detect aRGB via the link 1.

For link 2
Code:
    oSource.Data.ColorManagement.RgbProfile = "T:\ColorConversion\Profiles\sRGB Color Space Profile.icm"



the RgbProfile should be Adobe icm? Or sRGB IEC61966-2.1 color profile ?

for link #3,
It does mentioned it's only valid for x86 dll? What about x64? Kindly advise.

And finally, we are using MultilayerViewer, how can we assign the output to sRGB IEC61966-2.1 color profile when doing a MLV save?
Dmitry.Obukhov  
#2 Posted : Sunday, November 11, 2012 8:59:47 PM(UTC)
Dmitry.Obukhov

Rank: Advanced Member

Groups: Member
Joined: 5/29/2010(UTC)
Posts: 1,310

Thanks: 8 times
Was thanked: 111 time(s) in 111 post(s)
Hello Ching-Yen,

Quote:
Basically, we know how to detect aRGB via the link 1.

Okay.
Quote:
For link 2 ... the RgbProfile should be Adobe icm? Or sRGB IEC61966-2.1 color profile ?

It does not matter. You can convert an image from one RGB profile to another.
Quote:
It does mentioned it's only valid for x86 dll? What about x64?

This code works with x64 assemblies of GM.
Quote:
And finally, we are using MultilayerViewer, how can we assign the output to sRGB IEC61966-2.1 color profile when doing a MLV save?

You should load an image to Bitmap. Then change a color profile, and load the image to MultiLayerViewer.

Edited by user Sunday, November 11, 2012 9:01:39 PM(UTC)  | Reason: Not specified

Best regards,
Dmitry Obukhov
Technical Support. Aurigma, Inc.
ChingYen  
#3 Posted : Monday, January 14, 2013 6:26:59 AM(UTC)
ChingYen

Rank: Advanced Member

Groups: Member
Joined: 3/3/2008(UTC)
Posts: 185

Thanks: 8 times
Quote:
Quote:
For link 2 ... the RgbProfile should be Adobe icm? Or sRGB IEC61966-2.1 color profile ?

It does not matter. You can convert an image from one RGB profile to another.

But, don't we need to let the engine know it need to convert from which profile to which profile? This looks like only making it converting to sRGB without care about the original profile? Or the system is intelligent enough to detect it's original profile?

Quote:
Quote:
And finally, we are using MultilayerViewer, how can we assign the output to sRGB IEC61966-2.1 color profile when doing a MLV save?

You should load an image to Bitmap. Then change a color profile, and load the image to MultiLayerViewer.


We figure out that after loading into MultiLayerViewer, the color will change. The most significant is loading an aRGB photo into the MLV, and do a save, the output color will be deem off. Even we are loading a sRGB photo, the color difference not as huge as aRGB photo, but still, manage to see the color difference. So, the question is, is there anyway we can get the output in sRGB IEC61966 rather than normal sRGB-PC ?
Dmitry  
#4 Posted : Wednesday, January 16, 2013 2:25:06 PM(UTC)
Dmitry

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 8/3/2003(UTC)
Posts: 1,070

Thanks: 1 times
Was thanked: 12 time(s) in 12 post(s)
Hello Ching-Yen,

1.
To convert image from one color space to another with color management you should have at least 2 color profiles: source and destination.

The source color profile is stored in the Bitmap.ColorProfile property.
  1. The source profile can be embedded into an image file. In this case Graphics Mill populates Bitmap.ColorProfile property when loading the image into memory.
  2. If an image doesn’t have embedded profile, the Bitmap.ColorProfile property is empty. If color management is crucial to you, then you should assign a color profile to this property before doing color conversion. Usually sRGB is used in this case (in case if image is RGB, of course).
The destination profile is set via bitmap.ColorManagement.XXXColorProfile (RgbColorProfile, CmykColorProfile, GrayScaleColorProfile). After you apply color management onto a bitmap, the destination bitmap has the destination profile in the Bitmap.ColorProfile property. If you save this bitmap to a file and the file format supports embedded profiles, it is embedded automatically.

2.
Graphics Mill supports 2 color management engines: LCMS and Adobe (do not mix up engine with color profile). Adobe color management engine indeed doesn’t work with x64 version of Graphics Mill. In your case I would not bother about it, just use LCMS (bitmap.ColorManagement.ColorManagementEngine = Aurigma.GraphicsMill.Transforms.ColorManagementEngine.LittleCms).

3.
If you use color management with MultiLayerViewer, you should convert all bitmap to your destination color profile prior to loading them to the control. As far as I remember MultiLayerViewer drops color profiles when rendering the result image. So after you render a result image with the control, assign your destination profile to Bitmap.ColorProfile of the rendered image. That is it.
Sincerely yours,
Dmitry Sevostyanov

UserPostedImage Follow Aurigma on Twitter!
thanks 1 user thanked Dmitry for this useful post.
ChingYen on 1/17/2013(UTC)
Users browsing this topic
Similar Topics
Converting adobeRGB to sRGB IEC61966-2.1 color profile Compare (Discussions – Graphics Mill)
by ChingYen 3/14/2013 9:51:34 PM(UTC)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.