Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (16 sloc) 0.563 kb
#! /bin/sh
scale_icon()
{
pngtopnm Icon-unscaled-alpha.png | pamscale -xsize=$1 -ysize=$1 > $2.alpha.pnm
pngtopnm Icon-unscaled.png | pamscale -xsize=$1 -ysize=$1 | pnmtopng -alpha $2.alpha.pnm > $2
rm -f $2.alpha.pnm
}
tifftopnm Icon-unscaled-alpha.tiff | pnmtopng > Icon-unscaled-alpha.png
tifftopnm Icon-unscaled.tiff | pnmtopng > Icon-unscaled.png
scale_icon 57 Icon.png
scale_icon 114 Icon@2x.png
scale_icon 72 Icon-72.png
scale_icon 29 Icon-Small.png
scale_icon 58 Icon-Small@2x.png
scale_icon 50 Icon-Small-50.png
scale_icon 512 Icon-512.png
Jump to Line
Something went wrong with that request. Please try again.