|
|
@@ -183,7 +183,9 @@ public class SceneProServiceImpl extends ServiceImpl<ISceneProMapper, ScenePro>
|
|
|
Map<String, String> uploadMap = new HashMap<>();
|
|
|
|
|
|
//切图
|
|
|
- String fragmentCmd = "vips dzsave --tile-size " + tileSize + " " + origFilePath + " " + workPath;
|
|
|
+ String fragmentCmd = "vips copy " + origFilePath + "[autorot] " +workPath + "--dzsave";
|
|
|
+// String fragmentCmd = "vips dzsave --tile-size " + tileSize + " " + origFilePath + " " + workPath;
|
|
|
+ log.info("fragmentCmd:{}" + fragmentCmd);
|
|
|
CmdUtils.callLine(fragmentCmd);
|
|
|
if(!ComputerUtil.checkComputeCompleted(dziPath, 5, 200)){
|
|
|
throw new BusinessException(ErrorCode.FAILURE_CODE_5052);
|