Code Monkey home page Code Monkey logo

stealfile's Introduction

stealFile

  • 需求:将云桌面中的文件拷贝出来。(云桌面可以读取本地磁盘,反之不可以)
  • 思路:云桌面下,将文件转换成图片;本机截图,并将图片还原成文件
  • 功能:实现所有格式的文件与BMP格式图片间的转换

配置文件(config.txt)说明:

// 生成的文件后缀
suffix = zip
// 图片宽度(像素)
width = 1024
// 误差模式 (加强抗干扰能力: 0~3)
deflection = 2
// 彩色模式
colorful = false
// Debug 模式
debug = true
// 延时间隔(单位ms)
delay = 1000
// 文件分块大小(单位MB)
blockSize = 50

使用方法:

云桌面环境下

java Inside
java ShowBmp

本机环境下

java ScreenShot
java Outside

注意事项:

  • 默认工作文件夹位置:桌面/stealFile
  • 云桌面运行于全屏模式下
  • 云桌面执行ShowBmp.class的同时在本机执行ScreenShot.class

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.