{"id":16049028,"url":"https://github.com/lovell/icc","last_synced_at":"2025-05-05T18:36:13.877Z","repository":{"id":34346551,"uuid":"38267689","full_name":"lovell/icc","owner":"lovell","description":"JavaScript module to parse International Color Consortium (ICC) profiles","archived":false,"fork":false,"pushed_at":"2023-10-05T19:29:41.000Z","size":2633,"stargazers_count":55,"open_issues_count":3,"forks_count":6,"subscribers_count":5,"default_branch":"main","last_synced_at":"2024-04-29T11:43:08.173Z","etag":null,"topics":["color","colour","icc","javascript","metadata","nodejs","parse","profile"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lovell.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-06-29T19:48:00.000Z","updated_at":"2024-06-18T15:14:59.489Z","dependencies_parsed_at":"2024-06-18T15:14:58.067Z","dependency_job_id":"0e6139bc-fb46-4451-b382-11ec7768c688","html_url":"https://github.com/lovell/icc","commit_stats":{"total_commits":17,"total_committers":4,"mean_commits":4.25,"dds":"0.17647058823529416","last_synced_commit":"87930d06375bb11b076d5e8943051315129c7b85"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lovell%2Ficc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lovell%2Ficc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lovell%2Ficc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lovell%2Ficc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lovell","download_url":"https://codeload.github.com/lovell/icc/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231409523,"owners_count":18372472,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["color","colour","icc","javascript","metadata","nodejs","parse","profile"],"created_at":"2024-10-09T00:12:38.388Z","updated_at":"2024-12-26T21:06:27.188Z","avatar_url":"https://github.com/lovell.png","language":"JavaScript","readme":"# icc\n\nJavaScript module to parse International Color Consortium (ICC) profiles.\n\n## Installation\n\n\tnpm install icc\n\n## Usage\n\n```javascript\nimport { parse } from 'icc';\nconst profileData = fs.readFileSync('sRGB_IEC61966-2-1_black_scaled.icc');\nconst profile = parse(profileData);\nconsole.dir(profile);\n```\noutputs:\n```\n{ version: '2.0',\n  intent: 'Perceptual',\n  deviceClass: 'Monitor',\n  colorSpace: 'RGB',\n  connectionSpace: 'XYZ',\n  description: 'sRGB IEC61966-2-1 black scaled',\n  deviceModelDescription: 'IEC 61966-2-1 Default RGB Colour Space - sRGB',\n  viewingConditionsDescription: 'Reference Viewing Condition in IEC 61966-2-1',\n  copyright: 'Copyright International Color Consortium'}\n```\n\n## API\n\n### parse(data)\n\nParses `data`, a Buffer containing a raw ICC profile, returning an Object of key/value pairs.\n\n## Licence\n\nCopyright 2015 Lovell Fuller and others\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n[http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0.html)\n\nUnless required by applicable law or agreed to in writing,\nsoftware distributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and limitations under the License.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flovell%2Ficc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flovell%2Ficc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flovell%2Ficc/lists"}