This is a great workflow optimization question! Yes, there is a way to handle this using per-folder pack.json configuration in Spine's Texture Packer.
Instead of manually downscaling layers in Photoshop before importing, you can keep everything at original size in your PSD, import normally, and then control the packing scale on a per-folder basis using pack.json files placed in your image subfolders.
How it works:
Each subfolder in your images directory can contain its own pack.json file that overrides packing settings for that folder. The key setting you need is scale.
For example, to pack a folder's images at half size, place a pack.json in that subfolder with:
{
scale: [ 0.5 ]
}
This tells the texture packer to scale those specific images down to 50% when packing, while leaving your original source images untouched.
Steps to set this up:
- In your PSD, use
[folder] tags or subfolder groups to organize the background/unimportant parts into their own image output folder. You can read more about folder tags in the Import PSD User Guide.
- After importing, locate the output image subfolder for those less-important attachments.
- Place a
pack.json in that subfolder specifying the reduced scale.
- When you pack your texture atlas, those images will be packed at the smaller scale automatically.
You can also set multiple scale values if needed:
{
scale: [ 0.5 ],
scaleSuffix: [ "" ],
scaleResampling: [ bicubic ]
}
This approach keeps your source PSD and Spine project clean and at full resolution, while automating the downscaling during the pack step — no more manual reassembly! Full details on all available pack.json settings can be found in the Texture Packing User Guide.