{"id":19756763,"url":"https://github.com/thebracket/png2rex","last_synced_at":"2025-08-20T01:12:27.862Z","repository":{"id":114154017,"uuid":"65401859","full_name":"thebracket/png2rex","owner":"thebracket","description":"A quick utility for turning PNG files into REXPaint xp files.","archived":false,"fork":false,"pushed_at":"2021-02-27T17:03:19.000Z","size":56,"stargazers_count":19,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-30T12:31:44.668Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thebracket.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2016-08-10T17:14:59.000Z","updated_at":"2025-04-26T23:37:01.000Z","dependencies_parsed_at":"2024-05-01T18:06:20.661Z","dependency_job_id":null,"html_url":"https://github.com/thebracket/png2rex","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/thebracket/png2rex","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thebracket%2Fpng2rex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thebracket%2Fpng2rex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thebracket%2Fpng2rex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thebracket%2Fpng2rex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thebracket","download_url":"https://codeload.github.com/thebracket/png2rex/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thebracket%2Fpng2rex/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271248553,"owners_count":24726143,"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","status":"online","status_checked_at":"2025-08-19T02:00:09.176Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-12T03:16:50.600Z","updated_at":"2025-08-20T01:12:27.851Z","avatar_url":"https://github.com/thebracket.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rex2png - a utility for converting PNG files into REXPaint files\n\n**Note: See [png2rex_rs](https://github.com/thebracket/png2rex_rs) for a version written in Rust, that I'm actually supporting.**\n\nThis is a simple utility I needed for [Black Future](https://github.com/thebracket/bgame) to convert PNG files into REXPaint format.\nIt handles transparency, and translucency with appropriate CP-467 tiles. It's pretty simple, but it does what I need. I hope\nyou find it useful!\n\n## To build\n\nThis uses a standard CMake setup, and requires zlib and libpng. Typically:\n `mkdir build; cd build; cmake -g\"Unix Makefiles\" ../src; make` \nwill get you going.\n\n## Usage\n\n`png2rex \u003cinputfile\u003e \u003coutputfile`\n\nFor example:\n\n`png2rex ../testimage/kitty.png kitty.xp`\n\nYou can then load the resulting image into your game, or with REXPaint.\n\n**Original Kitty PNG**\n![Original PNG of a kitty](https://raw.githubusercontent.com/thebracket/png2rex/master/testimage/kitty.png)\n\n**REXPaint Kitty**\n![REXPaint output](https://raw.githubusercontent.com/thebracket/png2rex/master/testimage/Kitty-REX.png)\n\n*Credits*: \n* [REXPaint by Kyzrati of Grid Sage Games](http://www.gridsagegames.com/rexpaint/).\n* REXPaint load/save provided with [REXSpeeder](https://github.com/pyridine/REXSpeeder)\n* PNG Loader from [SantosDev](http://santosdev.blogspot.com/2012/08/loading-png-image-with-libpng-1512-or.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthebracket%2Fpng2rex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthebracket%2Fpng2rex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthebracket%2Fpng2rex/lists"}