Lieber Besucher, herzlich willkommen bei: krpano.com Forum. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.
|
|
Quellcode |
1 2 3 |
<!-- <action name="mysnapshot"> if(%1 == true,set(layer[show_snapshot_UI].visible,false),set(layer[show_snapshot_UI].visible,true)) </action> -->
<events name="enable_snapshot_ui_check_parameters" keep="true" onnewpano="snapshot_ui_parameters_handler();"/> <action name="snapshot_ui_parameters_handler"> ifnot(enable_snapshot_ui===null,action(get(enable_snapshot_ui));); </action>
<action name="show"> if(%1 == true,set(layer[show_snapshot_UI].visible,false),set(layer[show_snapshot_UI].visible,true)) </action>
|
|
|
Quellcode |
1 2 3 4 |
if ($stamp) {
$sx = imagesx($stamp);
$sy = imagesy($stamp);
imagealphablending($stamp,false); imagesavealpha($stamp,true); imagecopy($im, $stamp, imagesx($im) - $sx - $marge_right, imagesy($im) - $sy - $marge_bottom, 0, 0, imagesx($stamp), imagesy($stamp));}
|
|
|
Quellcode |
1 2 3 4 5 |
<action name="mysnapshot"> ifnot(enable_snapshot_ui===null, if(%1 == true,set(layer[show_snapshot_UI].visible,false),set(layer[show_snapshot_UI].visible,true)) ) </action> |
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »sbraaa« (10. Juli 2020, 16:40)
Hi Jérôme,
Is the plugin able to capture hotspots (distorted or not) and layers of the current view?
Thank you!
is there any way if I rewrite the functionality for saving the screenshot to C# code, to use my code, instead of the PHP one.
external_php_server_path="%$mypath%/core/plugins/snapshot/panoshot/"
external_php_server_path="%$mypath%/core/plugins/snapshot/panoshot/"
path must be absolute : https://krpano.com/plugins/userplugins/s…php_server_path
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »cuongdevjs« (20. September 2023, 14:55)
Is it working in krpano 1.21. Can i have a demo file to test in my tour?external_php_server_path="%$mypath%/core/plugins/snapshot/panoshot/"
path must be absolute : https://krpano.com/plugins/userplugins/s…php_server_path
Thank you. I looking forward your response.
Thank you. I looking forward your response.
Send me you email so I can send you a fixed version