{"id":26201762,"url":"https://github.com/mini2dx/tilepacker","last_synced_at":"2025-12-24T14:28:59.395Z","repository":{"id":4236582,"uuid":"5360502","full_name":"mini2Dx/tilepacker","owner":"mini2Dx","description":"A command line utility and Gradle task for packing individual images into tilesets","archived":false,"fork":false,"pushed_at":"2023-09-24T17:44:16.000Z","size":6240,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-10T19:13:31.242Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mini2Dx.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES","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-08-09T19:58:51.000Z","updated_at":"2023-09-24T15:11:00.000Z","dependencies_parsed_at":"2022-08-31T07:11:36.776Z","dependency_job_id":null,"html_url":"https://github.com/mini2Dx/tilepacker","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mini2Dx%2Ftilepacker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mini2Dx%2Ftilepacker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mini2Dx%2Ftilepacker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mini2Dx%2Ftilepacker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mini2Dx","download_url":"https://codeload.github.com/mini2Dx/tilepacker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243148142,"owners_count":20243927,"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":"2025-03-12T03:23:39.001Z","updated_at":"2025-12-24T14:28:59.389Z","avatar_url":"https://github.com/mini2Dx.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"tilepacker\n==========\n\nA Gradle plugin and command line utility for packing individual tile images into tilesets.\n\nGradle\n---------\n\n```gradle\nbuildscript {\n    repositories {\n\t\tmavenLocal()\n        mavenCentral()\n    }\n    dependencies {\n\t\tclasspath 'org.mini2Dx:tilepacker-gradle-plugin:4.2.0'\n    }\n}\n```\n\nThen define a task for packing up your tiles into tilesets. The tilesDirectory is where your tiles and configuration file are.\n\n```gradle\ntask tilePack(type: org.tilepacker.gradle.TilePackerTask) {\n\ttilesDirectory file(\"path/to/tiles/folder\")\n\t//Change to true if you do not want to use previously stored order of tiles\n\trewrite false\n}\n```\n\nThen run the task with the ```--no-daemon``` option.\n\n```bash\ngradle tilePack --no-daemon\n```\n\nA sample configuration file can be found [here](https://raw.githubusercontent.com/tomcashman/tilepacker/master/config.sample.xml).\n\nCommand Line\n---------\nOn the command line, the application takes a single argument - the path to the directory of the tiles and configuration file. The configuraiton file tells tilepacker which settings to apply and which files to pack into tilesets.\n\nA sample configuration file can be found [here](https://raw.githubusercontent.com/tomcashman/tilepacker/master/config.sample.xml).\n\nWindows\n\n```bash\ntilepacker-core.bat ./path/to/tiles/folder\n```\n\nMac OS X / Linux\n\n```bash\n./tilepacker-core ./path/to/tiles/folder\n```\n\n\nRequired Configuration Options\n---------\n * ```tileWidth``` - The width of each tile in pixels\n * ```tileHeight``` - The height of each tile in pixels\n * ```tilesetWidth``` - The width of each tileset in pixels\n * ```tilesetHeight``` - The height of each tileset in pixels\n * ```outputFormat```- The output image format (PNG or JPG)\n * ```tiles``` - The list of relative paths to tile images to be packed\n \nOptional Configuration Options\n---------\n * ```tilePadding``` - The padding in pixels to apply around each tile (0 by default)\n * ```preventTearing``` - If you want to prevent tearing when scaling rendering, TilePacker can pad out each tile by its border pixels (false by default)\n * ```premultiplyAlpha``` - If you want the output image to have premultiplied alpha values (false by default)\n * ```backgroundColor``` - The background color to use in output images\n * ```groupTilesByDirectory``` - True if tiles should be grouped into multiple tilesets based on their directory\n\nNotes\n---------\nOlder integrated graphics cards can only load textures of 512x512 pixels so it is recommended that tilesets are generated at this maximum size if you wish to support older cards.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmini2dx%2Ftilepacker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmini2dx%2Ftilepacker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmini2dx%2Ftilepacker/lists"}