mirror of
https://github.com/barry-ran/QtScrcpy.git
synced 2025-07-19 07:21:28 +00:00
parent
aa8f54bb78
commit
cb65a7d4ca
3 changed files with 4 additions and 2 deletions
|
@ -368,10 +368,10 @@ bool Device::saveFrame(const AVFrame* frame)
|
||||||
}
|
}
|
||||||
QDateTime dateTime = QDateTime::currentDateTime();
|
QDateTime dateTime = QDateTime::currentDateTime();
|
||||||
QString fileName = dateTime.toString("_yyyyMMdd_hhmmss_zzz");
|
QString fileName = dateTime.toString("_yyyyMMdd_hhmmss_zzz");
|
||||||
fileName = Config::getInstance().getTitle() + fileName + ".jpg";
|
fileName = Config::getInstance().getTitle() + fileName + ".png";
|
||||||
QDir dir(fileDir);
|
QDir dir(fileDir);
|
||||||
absFilePath = dir.absoluteFilePath(fileName);
|
absFilePath = dir.absoluteFilePath(fileName);
|
||||||
ret = rgbImage.save(absFilePath);
|
ret = rgbImage.save(absFilePath, "PNG", 100);
|
||||||
if (!ret) {
|
if (!ret) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
|
@ -160,6 +160,7 @@ Note: it is not necessary to keep you Android device connected via USB after you
|
||||||
- Display Android device screens in real time
|
- Display Android device screens in real time
|
||||||
- Real-time mouse and keyboard control of Android devices
|
- Real-time mouse and keyboard control of Android devices
|
||||||
- Screen recording
|
- Screen recording
|
||||||
|
- Screenshot to png
|
||||||
- Wireless connection
|
- Wireless connection
|
||||||
- Supports up to 16 device connections (the number can be higher if your PC performance allows. You need to compile it by yourself)
|
- Supports up to 16 device connections (the number can be higher if your PC performance allows. You need to compile it by yourself)
|
||||||
- Full-screen display
|
- Full-screen display
|
||||||
|
|
|
@ -163,6 +163,7 @@ Mac OS平台,你可以直接使用我编译好的可执行程序:
|
||||||
- 实时显示Android设备屏幕
|
- 实时显示Android设备屏幕
|
||||||
- 实时键鼠控制Android设备
|
- 实时键鼠控制Android设备
|
||||||
- 屏幕录制
|
- 屏幕录制
|
||||||
|
- 截图为png
|
||||||
- 无线连接
|
- 无线连接
|
||||||
- 最多支持16台设备连接(PC性能允许的情况下可以增加,需要自己编译)
|
- 最多支持16台设备连接(PC性能允许的情况下可以增加,需要自己编译)
|
||||||
- 全屏显示
|
- 全屏显示
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue