{"id":13419683,"url":"https://github.com/scriptum/Cheetah-Texture-Packer","last_synced_at":"2025-03-15T05:32:44.212Z","repository":{"id":3223465,"uuid":"4258691","full_name":"scriptum/Cheetah-Texture-Packer","owner":"scriptum","description":"High efficient and fast 2D bin packing tool","archived":false,"fork":false,"pushed_at":"2016-11-05T11:51:17.000Z","size":801,"stargazers_count":233,"open_issues_count":9,"forks_count":50,"subscribers_count":32,"default_branch":"master","last_synced_at":"2024-07-31T22:51:03.654Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/scriptum.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}},"created_at":"2012-05-08T08:37:41.000Z","updated_at":"2024-07-05T16:53:45.000Z","dependencies_parsed_at":"2022-08-19T01:00:59.803Z","dependency_job_id":null,"html_url":"https://github.com/scriptum/Cheetah-Texture-Packer","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/scriptum%2FCheetah-Texture-Packer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scriptum%2FCheetah-Texture-Packer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scriptum%2FCheetah-Texture-Packer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scriptum%2FCheetah-Texture-Packer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scriptum","download_url":"https://codeload.github.com/scriptum/Cheetah-Texture-Packer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221548045,"owners_count":16840957,"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":[],"created_at":"2024-07-30T22:01:19.333Z","updated_at":"2024-10-26T15:30:18.220Z","avatar_url":"https://github.com/scriptum.png","language":"C++","readme":"Cheetah Texture Packer\n------------------------------\n\nJust best texture packer. It uses the idea of MaxRects bin packing algorithm with aggressive heuristics.\n\nThis tool was created as research implementation and never been released. But it works and you can compile this tool for any platform you want.\n\nIf you know Russian - welcome: http://www.gamedev.ru/projects/forum/?id=161714\n\nWatch me if you want to see changes :-)\n\nThis program uses UBFG's algorithm: https://github.com/scriptum/UBFG\n\nFormat of .atlas file (same as UBFG's .fnt):\n\n\ttextures: atlas_image.png --image name with packed textures\n\tName     X pos  Y pos   Width  Height   Xoffset  Yoffset  Orig W  Orig H   Rot\n\timg1     0      0       0      0        3        14       3       14\n\timg2     90     36      5      7        1        4        7       14       r\n\tdir/img  0      41      5      9        1        2        7       14\n\n\nHere:\n\n* Name - name of packed image with full path\n* X pos - x position of image on texture\n* Y pos - y position of image on texture\n* Width - width of image on texture (images are cropped and Width and Orig Width aren't equal)\n* Height - height of image on texture\n* Xoffset - distance on the x-axis, on which image must be shifted\n* Yoffset - distance on the y-axis, on which image must be shifted\n* Orig W - original width of image\n* Orig H - original height of image\n* Rotation - if \"r\" - image rotated\n\nAdditional command line features\n\n```\n--disable-merge //do not merge similar images\n--disable-crop //do not crop images\n--disable-recursion //just one folder not subfolder\n--disable-border //do not make border\n--enable-rotate //enable sprites rotation\n--square //only square atlases\n--extrude-size value //size of extrude image in pixels\n--border-size value //border size in pixels\n--autosize-threshold value //use autosize algorithm only if fill rate in percents \u003c value\n--min-texture-size WidthxHeight //use autosize algorithm only if last texture size \u003e min texture size\n--crop-threshold value //crop alpha threshold 0-255\n--sortorder value //sort order line in interface new sort order algorithm MAX\n```\n\n![Help image](https://github.com/scriptum/UBFG/raw/master/readme.png)\n\nScreenshot:\n\n![Screenshot](https://github.com/scriptum/Cheetah-Texture-Packer/raw/master/screen.png)\n\nReferences:\n\n* http://clb.demon.fi/files/RectangleBinPack.pdf\n* http://clb.demon.fi/projects/more-rectangle-bin-packing\n","funding_links":[],"categories":["TODO scan for Android support in followings","Graphics","Table of Contents"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscriptum%2FCheetah-Texture-Packer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscriptum%2FCheetah-Texture-Packer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscriptum%2FCheetah-Texture-Packer/lists"}