|
|
@@ -183,8 +183,8 @@ public class SceneProServiceImpl extends ServiceImpl<ISceneProMapper, ScenePro>
|
|
|
Map<String, String> uploadMap = new HashMap<>();
|
|
|
|
|
|
//切图
|
|
|
-// String fragmentCmd = "vips copy " + origFilePath + "[autorot] " +workPath + "--dzsave";
|
|
|
- String fragmentCmd = "docker run --rm --security-opt seccomp=unconfined --pids-limit=4096 -v /mnt:/mnt vips:8.15.1 vips dzsave --tile-size " + tileSize + " " + origFilePath + "[autorot] " + workPath;
|
|
|
+ String fragmentCmd = "docker run --rm --security-opt seccomp=unconfined --pids-limit=4096 -v /mnt:/mnt vips:8.15.1 vips copy " + origFilePath + "[autorot] " +workPath + " --tile-size " + tileSize + " --dzsave";
|
|
|
+// String fragmentCmd = "docker run --rm --security-opt seccomp=unconfined --pids-limit=4096 -v /mnt:/mnt vips:8.15.1 vips dzsave --tile-size " + tileSize + " " + origFilePath + "[autorot] " + workPath;
|
|
|
log.info("fragmentCmd:{}" + fragmentCmd);
|
|
|
CmdUtils.callLine(fragmentCmd);
|
|
|
if(!ComputerUtil.checkComputeCompleted(dziPath, 5, 200)){
|