|
|
|
This java application will help to convert any image (bmp,jpg,gif,png...) to any (jpg,gif,bmp,png).
How to run!!!! 1. Compile ConvertImage.java file (the source code is listed with this article 2. Modify class path to include com.zip OR use -djava.class.path directive 3. Run ConvertImage as java convertImage a.gif b.bmp
where a.gif is infile with gif type and b.bmp is outfile with bmp type.
Server Error in '/Main' Application. |
Click here to copy the following block | import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import com.sun.jimi.core.Jimi;
public class ConvertImage { public static void main(String a[]) { copyFile(a[1],a[2]); } public void copyFile(String SrcImgFileABSPath, String DestImgFileABSPath) {
try { Image image = Jimi.getImage(SrcImgFileABSPath); Jimi.putImage(image, DestImgFileABSPath); }catch (Exception ex) { ex.printStackTrace(); } } } |
|
|
|
Submitted By :
Rathi Vijay
(Member Since : 6/5/2004 2:19:56 AM)
|
|
|
Job Description :
Hi, I persued my graduation in computer engineering. The area of technology which interests me much is, systems programming, mobile and wireless, embedded linux/RTOS.
At present (as on 6th June, 04) I am working with 3Di Systems (I) Pvt. Ltd., as Sr. Software Engineer in embedded linux/RTOS area. |
View all (4) submissions by this author
(Birth Date : 12/31/1979 ) |
|
|