{"id":16969219,"url":"https://github.com/harundogdu/react-tiff","last_synced_at":"2025-03-17T08:37:50.572Z","repository":{"id":62165928,"uuid":"558393515","full_name":"harundogdu/react-tiff","owner":"harundogdu","description":"A React component for viewing TIFF images.","archived":false,"fork":false,"pushed_at":"2025-02-23T15:05:02.000Z","size":1666,"stargazers_count":10,"open_issues_count":1,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-05T09:41:07.658Z","etag":null,"topics":["image","react","react-tiff-viewer","tiff","tiff-files","tiff-images","tiff-viewer"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/react-tiff","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/harundogdu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2022-10-27T13:12:49.000Z","updated_at":"2025-02-23T15:05:06.000Z","dependencies_parsed_at":"2025-02-15T15:11:15.667Z","dependency_job_id":"7d025443-daa2-46a1-bbe8-abec1e1f0e8e","html_url":"https://github.com/harundogdu/react-tiff","commit_stats":{"total_commits":40,"total_committers":4,"mean_commits":10.0,"dds":"0.30000000000000004","last_synced_commit":"8bee1200a7cbaf9caed5575c299369f5cf62bdfd"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harundogdu%2Freact-tiff","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harundogdu%2Freact-tiff/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harundogdu%2Freact-tiff/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harundogdu%2Freact-tiff/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/harundogdu","download_url":"https://codeload.github.com/harundogdu/react-tiff/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243818151,"owners_count":20352629,"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":["image","react","react-tiff-viewer","tiff","tiff-files","tiff-images","tiff-viewer"],"created_at":"2024-10-14T00:24:28.741Z","updated_at":"2025-03-17T08:37:50.564Z","avatar_url":"https://github.com/harundogdu.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-tiff\n\nA React component for viewing TIFF images.\n\n## Features\n\n- Supports multi-page TIFF images\n- Supports TIFF images with multiple channels (e.g. RGB, RGBA, CMYK)\n- Supports TIFF images with multiple resolutions (e.g. 1x, 2x, 4x)\n- Supports TIFF images with multiple tiles\n- Supports TIFF images with multiple strips\n- Supports TIFF images with multiple samples per pixel (e.g. 1, 2, 3, 4)\n- Supports TIFF images with multiple bits per sample (e.g. 1, 2, 4, 8, 16, 32)\n- Supports TIFF images with multiple photometric interpretations (e.g. min-is-black, min-is-white, RGB, palette color, transparency mask, CMYK, YCbCr, CIELab)\n- Support you can print out tiff images.\n- Support you can zoom in and out tiff images.\n- Support you can get the total number of pages on load of the document and handle pagination programmatically.\n\n## Install\n\n```bash\nnpm install --save react-tiff\n```\n\n```bash\nyarn add react-tiff\n```\n\n## Usage\n\n```jsx\nimport React from 'react'\n\nimport { TIFFViewer } from 'react-tiff'\nimport 'react-tiff/dist/index.css'\nimport tiffFile from './images/multipage.tiff'\n\nconst App = () =\u003e {\n  return (\n    \u003cTIFFViewer\n      tiff={tiffFile}\n      lang='en' // en | de | fr | es | tr | ja | zh | ru | ar | hi\n      paginate='ltr' // bottom | ltr\n      buttonColor='#141414' // pagination button color\n      printable // print button visible\n      zoomable // zoom in and out button visible\n    /\u003e\n  )\n}\n\nexport default App\n```\n\n## Live\n\n[Demo](https://codesandbox.io/s/react-tiff-95u65f)\n\n## Extras\n\n\u003e Made with create-react-library\n\n[![NPM](https://img.shields.io/npm/v/react-tiff-viewer.svg)](https://www.npmjs.com/package/react-tiff-viewer) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)\n\n## License\n\nMIT © [harundogdu](https://github.com/harundogdu)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharundogdu%2Freact-tiff","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fharundogdu%2Freact-tiff","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharundogdu%2Freact-tiff/lists"}