Problem with Image conversion Lab To RGB in Windows.

D
Posted By
deepaks
Dec 18, 2003
Views
342
Replies
1
Status
Closed
Hi,
Iam writing a filter plugin for photoshop. I am getting Image data from a Lab Image, which I want to convert to RGB. What I should do ?.

I am using the code given below to get Lab colorspace profile. The function returns zero(i.e, Fails) and the GetLastError() returns 2, i.e, ‘The system cannot find the file specified. ‘. Can anyone
help me to get the profile file belonging to Lab
colorspace. The function fails to other colorspaces also.

BOOL the_bError = ::GetStandardColorSpaceProfile
(NULL,SPACE_Lab,the_iclrprofile,&the_size);

int i = GetLastError();

Thank you.

Deepak

MacBook Pro 16” Mockups 🔥

– in 4 materials (clay versions included)

– 12 scenes

– 48 MacBook Pro 16″ mockups

– 6000 x 4500 px

MR
Mike Russell
Dec 22, 2003
wrote:
Hi,
Iam writing a filter plugin for photoshop. I am getting Image data from a Lab Image, which I want to convert to RGB. What I should do ?.

I am using the code given below to get Lab colorspace profile. The function returns zero(i.e, Fails) and the GetLastError() returns 2, i.e, ‘The system cannot find the file specified. ‘. Can anyone
help me to get the profile file belonging to Lab
colorspace. The function fails to other colorspaces also.
BOOL the_bError = ::GetStandardColorSpaceProfile
(NULL,SPACE_Lab,the_iclrprofile,&the_size);

int i = GetLastError();

Use the Photoshop color services suite to convert the colors directly from Lab to RGB.



Mike Russell
www.curvemeister.com
www.geigy.2y.net

Must-have mockup pack for every graphic designer 🔥🔥🔥

Easy-to-use drag-n-drop Photoshop scene creator with more than 2800 items.

Related Discussion Topics

Nice and short text about related topics in discussion sections