PHP生成全景图(krpano) CJayhe 技术分享 1036 views ## 技术背景 krpano是一款全景漫游制作软件和工具。 ## 引用链接 官网: [https://krpano.com/](https://krpano.com/) 购买、下载、注册、更新krpano: [http://www.krpano360.com/buykrpano/](http://www.krpano360.com/buykrpano/) ## 开发环境 Centos6.5\PHP5.5 ## 技术实现 1. 下载官方代码 [https://krpano.com/download/](https://krpano.com/download/) 【根据操作系统进行选择下载】 2. krpano目录结构 ![](data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQYAAAF0CAYAAADB35f2AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAACtQSURBVHhe7Z3rkx3HWf/1P3AxFEWgeMMb3qWAsFRI4tixHUsWDqlA2YJCNlmqKPLG9XOggMKWLMmStbLWki1b2kir1a2MCxMIqQUKE5fzs5wosmU7QgqOLiaFItlaO1i2Lnt/6KcvM32by9mes3vO7PeT6vjMdE9Pz5x+PjNz9pxHKwgAADwgBgBAAMQAAAiAGAAAARADACAgWQwfvrmKrryxkq68vpI+4HJiJf3va3eq8uqd9JPjn5fl/e99nj74/p/prQAAvUyyGFgKNHFQlAOi7Ce6PCrKXlG+RvTuHlF2E73ztCi76L1jd+itAAC9TLoYxF1CHSnQO0/Se9+FGADoB5LFwI8PdaRAl3bQRKdiGB+kFQPDdEYvAgAWh3QxnBBiqCEFuvQETXzndr1VTSAGAJaEZDHwh4x1pECXttPlVyAGAPqBhsRQLQW6+DjEAECfkC6GV4UYakiBLg7R5aO36a2KGKfBFStohV0cMfj1g2KNjVs/MCy2PDNMA3Y7fxkAEJAsBv6OQh0pzF94lN59+Taan/lIb+mjgnrQitjxQRHgmRhUvQx2A99RZEEeqWcgBgA6phkxVEiBLm4VdxZ/QO99dzX978n/p7f0iD022OuijxVnaHhAy6TosQNiAKBjksXA32iskgL9eIu8W5j90Tr53ygLFsMAyZsEiAGAxkgXA3+bsUIK9OPN9M7//1z+3yj+o4S6G8iDveBR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ADACAAYgAABEAMAIAAiAEAEAAxAAACIAYAQADEAADwIPo/aVoOQM0Rq1AAAAAASUVORK5CYII=) **说明** 1. krpanotools 命令脚本 2. templates 模版 (存放可供生成的模版样例配置文件) ## 执行生成代码 ```php exec($krpano . 'krpanotools makepano -config=' . $krpano . 'templates/vtour-vr.config %F ' . $krpano_dir_beta . '/*', $opt, $r); ``` **说明** 1. $r 返回0代表生成成功 2. $krpano 脚本包路径 3. $krpano\_dir\_beta 待生成文件资源路径 **注意** 单个图片长宽比例需为2:1 ## 执行注册代码去除水印 ```php exec( $krpano . 'krpanotools register ' . self::REGISTER_CODE); ``` **说明** 1. $r 返回0代表生成成功 2. $krpano 脚本包路径 **注意** 单个图片长宽比例需为2:1 需用apache用户执行注册命令才能去除水印 帮助PHPZlc项目! 与任何开源项目一样, 贡献代码 或 文档 是最常见的帮助方式, 但我们也有广泛的 赞助机会。 0 赞赏 加入技术群 评论 去登录