Convert images to SNES Format with Palette
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
snesimg Installer.pmdoc
snesimg.xcodeproj
.gitignore
HexColorAdditions.h
HexColorAdditions.m
NSBitmapImageRep+Gray.h
NSBitmapImageRep+Gray.m
NSData_EVBitmap.h
NSData_EVBitmap.m
NSImage_BMPData.h
NSImage_BMPData.m
README
main.h
main.m
snesimg Installer.pkg

README

snesimg v0.2 - Convert images to SNES Format with Palette
By Matthew Callis http://eludevisibility.org / http://superfamicom.org
======================================================================
-f	string		input filename can be anyone one of: TIFF, BMP, JPEG, GIF, PNG, ICO, PSD, XBM, CUR, TGA, PICT, EPS
-c	asm/-		the format of the palette; asm outputs in '.db $##, $##' format, otherwise it defaults to raw .clr format
-pf	string		palette filename; if none it defaults to the input filename
-w	int		overide width of image
-h	int		overide height of image
-d	YES/NO		verbose information printed on screen\n

Example: snesimg -f sprite-32x32.png -w 128 -h 32 -c asm

Many Thanks to creaothceann, byuu and everyone else at http://board.byuu.org/ for help on the linux version that helped me replace my crappy osx version with a proper one