{"id":28861313,"url":"https://github.com/kishorjena/react-native-image-file-transformer","last_synced_at":"2026-04-29T19:33:03.507Z","repository":{"id":221410971,"uuid":"754299590","full_name":"KishorJena/react-native-image-file-transformer","owner":"KishorJena","description":"Scale, Convert \u0026 Compress animated \u0026 static image files. Supports It works with image files rather view and let's you use the transofmred image files.","archived":false,"fork":false,"pushed_at":"2025-09-07T08:04:35.000Z","size":1421,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-10T11:24:08.932Z","etag":null,"topics":["animated-gif","animated-webp","compress","convert","encoder-decoder","image","image-file","image-resizer","react-native","resize","scale"],"latest_commit_sha":null,"homepage":"https://github.com/KishorJena/react-native-image-file-transformer","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/KishorJena.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-02-07T19:28:42.000Z","updated_at":"2025-09-07T08:04:38.000Z","dependencies_parsed_at":"2024-02-07T20:43:18.014Z","dependency_job_id":"b0cb10ee-a1b7-4363-a506-dcccb8a66e7e","html_url":"https://github.com/KishorJena/react-native-image-file-transformer","commit_stats":null,"previous_names":["kishorjena/react-native-image-file-transformer"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/KishorJena/react-native-image-file-transformer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KishorJena%2Freact-native-image-file-transformer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KishorJena%2Freact-native-image-file-transformer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KishorJena%2Freact-native-image-file-transformer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KishorJena%2Freact-native-image-file-transformer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KishorJena","download_url":"https://codeload.github.com/KishorJena/react-native-image-file-transformer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KishorJena%2Freact-native-image-file-transformer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32441081,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T18:12:22.909Z","status":"ssl_error","status_checked_at":"2026-04-29T18:11:33.322Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["animated-gif","animated-webp","compress","convert","encoder-decoder","image","image-file","image-resizer","react-native","resize","scale"],"created_at":"2025-06-20T05:06:11.890Z","updated_at":"2026-04-29T19:33:03.502Z","avatar_url":"https://github.com/KishorJena.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React Bative Image File Transformer\n## convert, compress, scale any animated or static image \n\n\n![image-removebg-preview1-ezgif com-resize (3)](https://github.com/KishorJena/react-native-image-file-transformer/assets/19212755/e8746a4a-9ae0-46ae-994b-b211d38c621b)\n\n[![npm version](https://badge.fury.io/js/react-native-image-file-transformer.svg)](https://badge.fury.io/js/react-native-image-file-transformer)\n\n`react-native-image-file-transformer` is a React Native module that provides functionality for transforming and manipulating image files. \n\nPlatform support: \n\n- [x] Android\n- [ ] ios\n\n## Installation\n\n```sh\nnpm install react-native-image-file-transformer\n```\n\n## Usage\n\nImport:\n```js\nimport { Transform } from 'react-native-image-file-transformer';\n```\n\nOperations:\n```js\nawait Transform.static([uri2, uri2,... ], options);\nawait Transform.animated([uri1, uri2,... ], options);\n```\n\nConstants:\n```js\nScaleMode:\nTransform.ScaleMode.CROP\nTransform.ScaleMode.STRETCH\nTransform.ScaleMode.FIT_CENTER\n\nFormatType:\nTransform.FormatType.JPEG\nTransform.FormatType.PNG\nTransform.FormatType.WEBP\nTransform.FormatType.GIF\nTransform.FormatType.AWEBP\nTransform.FormatType.UNKNOWN\n \n```\nMisc:\n```js\nawait Transform.getImageType([uri1, uri2, ...])\n\n// Output\n//[{\"extention\": \"png\", \"isAnimated\": false, \"type\": \"PNG_A\", \"uri\": \"/storage/emulated/...\"}] \n```\n```js\nawait Transform.clearCache()\n```\n## Example:\n```js\nTransform.animated(uris, { \n  width:100, // default will be taken from image\n  height:100, // default will be taken from image\n  quality:70,  // default 100\n  scaleMode:Transform.ScaleMode.FIT_CENTER, // default FIT_CENTER\n  targetFormat:Transform.FormatType.AWEBP, // default JPGE/GIF\n//   minDelay:80, (ms)\n//   maxDelay:1000, (ms)\n//   parentDir:\"storage/emulated/0/Download/output\"\n})\n.then(r=\u003e{log(r)})\n.catch(e=\u003e{log('error ',e)})\n```\n\n## Contribution\nIf you find any issues or have suggestions for improvements, please open an issue or submit a pull request on the project's GitHub repository. [CONTRIBUTING.md](CONTRIBUTING.md)\n\n### Contact on:\nX (twitter) : x.com/KishorJena01\n\n## License\n\n[LICENSE](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkishorjena%2Freact-native-image-file-transformer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkishorjena%2Freact-native-image-file-transformer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkishorjena%2Freact-native-image-file-transformer/lists"}