7.8 Convert Spots
POST http://{{rip_ip}}:5438/resources/{{pmm_id}}/convertspots
Receives a list of named CIELab colours and converts them to device colours using the PMM specified by the ResourceGUID.
Request
Array of objects, each representing a spot colour:
- Name (string) : Name of the spot colour
- CIELab (array) : 3 numbers, representing CIELab L, a, b in D50 2dgr of the spot colour.
Response
Array of objects, each representing a spot colour:
- ChannelCount (number) : Number of channels in the output color..
- Output (array) : Array containing 2 arrays for each entry in the request.
- The first array contains the CIELab values of the mapped spot colour (the in gamut colour)
- The second array the device channels, ChannelCount entries.
Request Body
{"0"=>{"Name"=>"My Spot", "CIELab"=>[67.3, 78.22, -4]}}
RESPONSES
status: OK
{"ChannelCount":4,"Output":[[[57.94118181993877,61.49250517813613,-2.8021176634967304],[0,0.9929991785453206,0.46790749275498283,0]]]}