ENJOYING this TOOL? PLEASE, CONSIDER CONTRIBUTING WITH A SMALL DONATION OR SPONSORING ME ON PATREON | GITHUB SPONSORS.

rTexPacker

A simple and easy-to-use textures packer and font atlas generator.

Package sprites or fonts into an atlas to improve drawing performance.

rTexPacker can be used for free as a WebAssembly online tool and it can also be downloaded as a standalone tool for Windows and Linux with some extra features.

rTexPacker Features

  • Package sprites and font glyphs into an atlas
  • Configure packing algorithms and heuristics
  • Setup sprites spacing, padding and alpha-trimming
  • Font generation options: Size, SDF fonts, fixed font height
  • Import custom unicode charset from UTF-8 file
  • Unicode charset duplicates removed automatically
  • Edit sprites origin visually, exported with the atlas
  • Atlas visualization options: Zoom, Pan, Background, Fill
  • Multiple UI styles available, selectable from main toolbar
  • Load/Save portable self-contained .rtp file, containing all sprites
  • Load sprites from multiple image formats: .png, .qoi, .tga, .jpg
  • Load sprites from font files: .ttf, .otf
  • Export atlas descriptor as: text (.rtpa), binary (.rtpb), .json, .xml and code (.h)
  • Export atlas image as: .png, .qoi, .dds and .raw
  • Export atlas descriptor as binary PNG chunk: rTPb
  • Multiple usage examples provided to load: .rtpa, .rtpb, PNG chunk rTPbp and code .h.

rTexPacker Standalone Additional Features

  • Maximum atlas size up to 8192x8192 pixels
  • Command-line support for batch sprites packing
  • Completely portable (single-file, no-dependencies)

rTexPacker Usage

Open the tool, drag & drop your sprites/fonts and setup atlas packing options.

Generated atlas can be exported as atlas-descriptor text file plus an atlas image file. The formats supported are:

  • Atlas Descriptor: text (.rtpa), binary (.rtpb), .xml, .json and code (.h)
  • Atlas Image: .png, .qoi, .dds and .raw

rTexPacker Standalone comes with command-line support for batch sprite packaging and font atlas generation.

rtexpacker.exe --help

rTexPacker Technology

This tool has beem created using the following open-source technologies:

  • raylib - A simple and easy-to-use library to enjoy videogames programming
  • raygui - A simple and easy-to-use immediate-mode-gui library

rTexPacker Custom

Do you like this tool? Do you need any specific feature to be added? Maybe a custom export format? Maybe a custom gui theme? Or maybe a custom version for Linux, macOS, Android, Raspberry Pi or HTML5? Just get in touch: ray[at]raylibtech.com

rTexPacker Issues & Feedback

You can report tool issues and feedback here: https://github.com/raylibtech/rtools

rTexPacker License

rTexPacker online tool can be used completely for free.

rTexPacker Standalone desktop tool could be downloaded with a donation.

In any case, consider a donation to help the author keep working on software for games development.

Copyright (c) 2019-2022 raylib technologies (@raylibtech)

StatusReleased
CategoryTool
PlatformsWindows, Linux, HTML5
Rating
Rated 5.0 out of 5 stars
(9)
Authorraylib technologies
Made withraylib
Tagspacker, raygui, raylib, Textures, tool
Average sessionAbout an hour
LanguagesEnglish
InputsKeyboard, Mouse
LinksHomepage, Twitter, LinkedIn

Download

Download NowName your own price

Click download now to get access to the following files:

rTexPacker v2.0 Usage Code Samples 2 MB
rTexPacker v2.0 Linux (x64) 2 MB
if you pay $20 USD or more
rTexPacker v2.1 Windows (x64) 2 MB
if you pay $20 USD or more

Development log

Comments

Log in with itch.io to leave a comment.

(2 edits)

Do you have a src-code for this program?

I'm afraid this software is closed  source. Why do you need it?

I will answer for them. Because by reusing the code of this editor, you can create a level editor that will be more convenient than the ugly Tiled.

You can check the code of rFXGen, rGuiStyler, rGuiIcons and rIconPacker, they are open source and all my tools use the same base template so the code structure is almost the same. rTexPacker just has specific code to package sprites but that's a few lines of code because it uses stb_rect_pack library.

this os not for mac

Nope, unfortunately I never had a mac to learn how it works and create software for it...

ok sir

Any plans to make this available as a Linux binary?

(+1)

I'm publishing a new version soon, I'll try to provide a Linux version by then.