آرشیو مقالات انگلیسی
آرشیو مقالات انگلیسی
Free ImageSplit java program. I have developed a small java program for cutting a map image into small. tiles used in my streetmap program, It is free for all to use. ImageSplit.zip
Unzip the attached file in an empty directory, run from a commandline:
ImageSplit (imagename) [(imagesize)]
(imagesize) is optional, if not specified the default size of 128 pixels is used.
ImageSplit can read jpg and png format images.
Java development:
Java 1.5 can be found here:
java.sun.com/j2se/1.5.0 choose the JDK 5.0 Update xx.
The java J2ME Wireless Toolkit 2.2 kit with emulators can be found here:
sjwtoolkit The download links is at the bottom.
Here is some links to java mobile midp tutorials on the internettet.
developers.sun.com and today.java.net
Rename an exsisting streetmap xxx.jar to xxx.zip
unzip the content into an empty directory, replace the image files with your own created with ImageSplit above.
All images in one jar file can either be png or jpg.
All images must have the dimension 128x128 pixels.
All images must fulfill the naming syntax.
The image filename syntax is:
10001000.png is allways top left corner, where thevprogram will start reading.
The filename can be split into a X and Y composant i.e.
10001000.png --> X=1000 Y=1000
All composants has an offset of 1000.
If all rules are fulfilled then the program will display the images.
Remember to update the contents of MANIFEST.MF to reflect the new jar filename.
Zip it all up into a file and rename it to .jar
Source: http://jtrustn.byethost12.com/streetmaps.html
Anoush Ebrahimi
It Professional - University of Georgia School of Public & International Affairs anoush@spia.uga.edu - anoush@uga.edu









