Skip to content

gabriel-dehan/Androidify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

### Androidify ###

This script takes a bunch of image files designed for iPhone Integration and creates an android version of them


## Requires

- Unix based system (Mac OS X, CentOS, BSD, Linux, ...) or Cygwin
- ImageMagick (Mac OS X : https://github.com/maddox/magick-installer, Other systems : http://www.imagemagick.org/script/binary-releases.php )


## Usages

/!\ Caution, the script will work recursively throughout all subdirectories. Be careful. /!\

-- Launching the script
sh androidify path_to_my_directory
Example : ./androidify ~/Work/Application/Resources/images

-- Erasing all created android directories and images in all subdirectories
sh androidify --clean path_to_my_directory
Example : ./androidify --clean ~/Work/Application/Resources/images


## Base architecture

images/
	-- image1.png
	-- image1@2x.png
	-- image2.png
	-- image2@2x.png

Note that we need all images to have their Retina Display image (with and @2x suffix)

This will give us the following result

images/
	-- image1.png
	-- image1@2x.png

	-- image2.png
	-- image2@2x.png
	
	/android/
		-- image1-low.png
		-- image1-medium.png
		-- image1-high.png
		-- image1-xhigh.png

		-- image2-low.png
		-- image2-medium.png
		-- image2-high.png
		-- image2-xhigh.png


## TODO

- Handle low resolutions

About

A script that takes a bunch of pictures designed for iPhone Integration and creates an android version of them

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published