{"id":21998509,"url":"https://github.com/systemrage/metamorphosis","last_synced_at":"2025-04-30T21:43:20.765Z","repository":{"id":133448937,"uuid":"125774941","full_name":"SystemRage/Metamorphosis","owner":"SystemRage","description":"The Ultimate Cursor Converter","archived":false,"fork":false,"pushed_at":"2024-02-03T19:06:32.000Z","size":124,"stargazers_count":46,"open_issues_count":3,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-30T20:11:23.695Z","etag":null,"topics":["ani","ani-cursor","conversion","converter","cur","cursor","cursor-ani","cursor-conversion","cursor-converter","cursor-fx","cursor-theme","cursor-x11","cursor-xp","cursors","decoder","encoder","python","reader","writer","x11-cursor"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SystemRage.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2018-03-18T22:52:22.000Z","updated_at":"2024-10-30T01:02:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"1e43f841-8a99-47c7-97aa-4ab2d1f6724d","html_url":"https://github.com/SystemRage/Metamorphosis","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SystemRage%2FMetamorphosis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SystemRage%2FMetamorphosis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SystemRage%2FMetamorphosis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SystemRage%2FMetamorphosis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SystemRage","download_url":"https://codeload.github.com/SystemRage/Metamorphosis/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251789225,"owners_count":21644077,"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":["ani","ani-cursor","conversion","converter","cur","cursor","cursor-ani","cursor-conversion","cursor-converter","cursor-fx","cursor-theme","cursor-x11","cursor-xp","cursors","decoder","encoder","python","reader","writer","x11-cursor"],"created_at":"2024-11-29T22:25:06.078Z","updated_at":"2025-04-30T21:43:20.758Z","avatar_url":"https://github.com/SystemRage.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"right\"\u003e\n  \u003ca href=\"http://www.kernel.org\"\u003e\u003cimg src=\"https://user-images.githubusercontent.com/25354386/43166763-c43acaf2-8f97-11e8-940c-c4d6651da931.png\" height=\"32\" width=\"27\" hspace=\"15\" /\u003e\u003c/a\u003e\n  \u003ca href=\"http://windows.microsoft.com/en-us/windows/home\"\u003e\u003cimg src=\"https://user-images.githubusercontent.com/25354386/43166777-d394d15a-8f97-11e8-8f8d-39d56e81e9cb.png\" height=\"32\" width=\"29\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n# Metamorphosis\n\u003e *The Ultimate Cursor Converter*\n\n## Why\nAfter several researches, i come to the conclusion that it doesn't exist a robust tool performing cursors conversions \nbetween the different platform formats.\nSo inspired by [cfx2xc.py](https://github.com/coolwanglu/cfx2xc/blob/master/cfx2xc.py) and [sd2xc.pl](https://github.com/ludios/sd2xc/blob/master/sd2xc.pl), i decided to create one very cool.\n\n## Requirements\n - `Python 3+`,\n - `PIL (Pillow)`\n - `xcursorgen`\n - `tar`\n - `[Iconolatry](https://github.com/SystemRage/Iconolatry)`\n \n## Features\n* Extraction of `CursorFX` / `CursorXP` theme images and:\n    * Conversion to Linux `X11` or Windows `.ani` cursors.\n    * Automatic correction for lazy authors' mistakes.\n    * Supports default animations or script animations (also with *repeat* / *end repeat* loops).\n    * Supports clicked cursors ( only extraction ).\n\n* Conversion of `.cur` or `.ani` to `X11` cursors.\n* Conversion of `X11` to `.ani` cursors.\n\n* Generic:\n    * Detailed log file creation.\n    * Packaging of converted cursors.\n    * Allows cursors resizing.\n    * Changes cursors color.\n    * Generates installations files for destination platform.\n\n## Usage\n`python3 Metamorphosis.py -h` for all available options.\n\nConversion to `X11` of an unpaired file and a files folder, packing results as `.tar.gz`:\n`python3 Metamorphosis.py -i /path/to/folder/with/some/cursors -i /path/to/a/specific/cursor/file/Example3.CursorFX -o /path/converted/cursors -t Linux -p` \n\nwhere an example of the directory and file structure is:\n```\n/path/to/folder/with/some/cursors\n│   Example1.CursorFX\n│   Example2.CurXPTheme\n│\n└───folder_with_cur_and_ani_1\n|    │   Help.cur\n|    │   Crosshair.cur\n|    |   Arrow.ani\n|    |   Button.ani\n|\n└───folder_with_cur_and_ani_2\n     |   SizeNS.cur\n     |   SizeS.ani\n     |   SizeWE.ani\n```\n\nConversion to `.ani` of a files folder, outputting to working directory, resizing and changing original color:\n`python3 Metamorphosis.py -i /path/to/folder/with/some/cursors -t Windows -s 32 -c gbr`\n\nwhere an example of the directory and file structure is:\n```\n/path/to/folder/with/some/cursors\n│   Example1.CursorFX\n│   Example2.CurXPTheme\n│\n└───folder_with_X11\n     │   top-left-arrow\n     │   progress\n     |   crosshair\n     |   pencil\n```\n\n## Notes\n- Remember that `.cur`, `.ani` or `X11` must have standard names.\n- Do **NOT** distribute the converted themes without the permission of the original author.\n\n## License\n [![License: GPL v3](https://img.shields.io/badge/License-GPL%20v3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0) ©  Matteo ℱan\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsystemrage%2Fmetamorphosis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsystemrage%2Fmetamorphosis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsystemrage%2Fmetamorphosis/lists"}