Here is where the magnanimous folks that create externals post them (.zip archives only please).


Postby sctell » Fri Apr 01, 2011 10:16 am

THColorSpace is a new external that simply converts one set of color space settings to another.

At the moment it has the following functions:

put "0.5,0.5,0.5,0.5,1" into tCMYK
put THColorSpace("deviceCMYKToDeviceRGB",tCMYK) into cd fld 1

put "0.5,0.5,0.5,1" into tRGB
put THColorSpace("deviceRGBToDeviceCMYK",tRGB) into cd fld 1

put "0.5,0.5,0.5,0.5,1" into tCMYK
put THColorSpace("genericCMYKToGenericRGB",tCMYK) into cd fld 1

put "0.5,0.5,0.5,1.0" into tRGB
put THColorSpace("genericRGBToGenericCMYK",tRGB) into cd fld 1

Each function includes alpha which is the last in each list.

If anyone needs any others the please ask and I will do my best.
Posts: 1130
Joined: Sun Jul 06, 2008 10:41 am

Return to XCmds, XFcns, and XRtns

Who is online

Users browsing this forum: No registered users and 1 guest