So after spending too long modifying Daniel's scale_and_copy_texture.sh Ruby script to work inside and create sub-directories, I thought it might benefit us all if I created created a Mac applications that did above and beyond all that.
Since this was my first time creating a Mac application, let alone, working with the Mac API all together, it took me all day of sweat and pain. But I finally succeeded in creating something I call...
- Convert iPad specific textures to iPhone/iTouch retina and non-retina resolution.
- Convert textures for landscape or portrait.
- Supports image extensions: png, bmp, jpg, jpeg, tif, tiff, and gif.
- Optionally export non-retina textures with desired suffix.
- Optionally export retina textures with desired suffix.
- Optionally export iPad textures with desired suffix.
- Allow to search and create sub-directories.
- Only a few clicks for fully universal textures.
- Open Source: https://github.com/Shilo/Texture-Universalizer.
- Requires Mac OSX 10.6 and up.
It is fairly fast at renaming and resizing textures, I'm not good with threading so it doesn't have true multi-threading yet but it does simulate it to where it it responsive enough. It's open source, so if anyone would like to improve it or add threading, i'd be greatful.
Here are the results of iPad textures I converted for my own project:
2153 images saved in 92.57 seconds. (86 MB)
I will post instructions on how to use universal textures in Sparrow later.