|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object smithers.logicpuzzles.HanjieBuilder
public class HanjieBuilder
Creates hanjie puzzles from image files.
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
Creates a new hanjie puzzle based on an image file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void main(java.lang.String[] args) throws java.io.IOException
System.out
. This will only handle images with
up to 26 colours plus blank. Each pixel of the image is taken to be a
cell in the puzzle. Blank must be pure white, and colours are considered
equal iff they are exactly equal, so lossy image formats (such as JPEG)
are not practical.
args
- the arguments, of which the first should be the name of an
image file
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |