Java读取与写入图片文件

时间:2025-02-15 18:20:25
//        FileImageInputStream fis = new  FileImageInputStream(new File(""));
//        FileImageOutputStream fos = new FileImageOutputStream(new File(""));
        FileInputStream fis = new FileInputStream(new File(""));
        FileOutputStream fos = new FileOutputStream(new File(""));

        byte[] read = new byte[1024];
        int len = 0;
        while((len = (read))!= -1){
            (read,0,len);
        }
        ();
        ();
        ();