/* BlinkenLib
* version 0.5.4 date 2008-01-10
* Copyright 2004-2008 Stefan Schuermans <stefan@schuermans.info>
* Copyleft: GNU public license - http://www.gnu.org/copyleft/gpl.html
* a blinkenarea.org project
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "BlinkenColorizer.h"
#include "BlinkenLib.h"
int main( int argCnt, char * * args )
{
stBlinkenMovie * pMovie;
int i;
char * str;
unsigned int height, width, channels, colors;
int mode;
//print info
printf( "BlinkenLib - BlinkenConv\n"
"version 0.5.4 date 2008-01-10\n"
"Copyright 2004-2008 Stefan Schuermans <stefan@schuermans.info>\n"
"Copyleft: GNU public license - http://www.gnu.org/copyleft/gpl.html\n"
"a blinkenarea.org project\n\n" );
//print syntax
if( argCnt <= 1 )
{
printf( "syntax: %s <parameter> [...]\n\n"
"parameters:\n"
" -i <file>\n"
" read movie from file (*.blm, *.bmm, *.bml, *.bbm)\n"
" -p\n"
" print movie\n"
" -r <width>x<height>-<channels>/<colors>\n"
" resize movie\n"
" -s <width>x<height>\n"
" scale movie\n"
" -c <channels> [solid|rainbow]\n"
" colorize movie\n"
" -o <file>\n"
" write movie to file (*.blm, *.bmm, *.bml, *.bbm)\n\n"
"old syntax: %s <input-file> [<output-file>]\n\n",
args[0], args[0] );
return 0;
}