From 8e6c6adf54d154028c5bb5e4c769f887480cabf1 Mon Sep 17 00:00:00 2001 From: cosmonaut Date: Fri, 22 Jul 2022 17:20:29 -0700 Subject: [PATCH] note that metadata is JSON --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 92bf0c8..f951bbf 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ Usage Usage: cram input_dir output_dir atlas_name [--padding padding_value] [--notrim] [--dimension max_dimension] ``` -Cram expects input in PNG and outputs a PNG and a metadata file that you can use to properly display the images in your game. Cram will recursively walk all the subdirectories of `input_dir` to generate your texture atlas. +Cram expects input in PNG and outputs a PNG and a JSON metadata file that you can use to properly display the images in your game. Cram will recursively walk all the subdirectories of `input_dir` to generate your texture atlas. Padding is set to 0 by default. If you need to use linear filtering, set padding to at least 1. If you need to use texture compression, set padding to at least 4.