PHP 使用Krpano 生成全景图

技术背景:

krpano是一款全景漫游制作软件和工具。

引用链接:

官网:https://krpano.com/

购买、下载、注册、更新krpano:http://www.krpano360.com/buykrpano/

开发环境:

Centos6.5\PHP5.5

技术实现:

一: 下载官方工具包

https://krpano.com/download/  【根据操作系统进行选择下载】

二:执行生成代码

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 待生成文件资源路径

注意事项:

1:单个图片长宽比例需为2:1

三:执行注册代码去除水印

exec( $krpano . 'krpanotools register ' . self::REGISTER_CODE);

说明:

1:$krpano 脚本包路径

注意事项:

2:需用apache用户执行注册命令才能去除水印

One thought on “PHP 使用Krpano 生成全景图
  1. generic cialis no prescription 2023/11/13 23:49  0

    Great goods from you, man. I have understand your stuff previous to and you’re just extremely fantastic.

    I actually like what you’ve acquired here, really like what
    you are saying and the way in which you say it. You make it entertaining and you still care
    for to keep it wise. I can not wait to read far more from you.

    This is actually a tremendous web site.

Comments are closed.

添加一条新回复 回到顶部

亲爱的,主人已经关闭了这篇文章的评论 。