forked from fieldOfView/krpano_fovplugins
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.html
164 lines (163 loc) · 9.29 KB
/
plugin.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
<!-- krpano plugin page template -->
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="format-detection" content="telephone=no" />
<title>krpano.com - Plugins - fieldOfView Plugins - imageadjust</title>
<link rel="stylesheet" type="text/css" media="screen" href="http://krpano.com/design/design.css"/>
<link rel="stylesheet" type="text/css" media="print" href="http://krpano.com/design/print.css"/>
<link rel="SHORTCUT ICON" href="http://krpano.com/design/shortcut.ico"/>
</head>
<body>
<div id="krpano_root">
<div id="krpano_headerwrapper">
<div id="krpano_header">
<div id="krpano_langsel"> </div>
<div id="krpano_mainmenu"> </div>
</div>
</div>
<div>
<div id="krpano_imagebar"></div>
<div id="krpano_logo"></div>
</div>
<div id="krpano_imagebar_space"></div>
<div id="krpano_contentwrapper">
<div id="krpano_content">
<div id="krpano_contentnav">
<h2><a href="/krpano_fovplugins" class="selflink">fovplugins</a></h2>
<p>This is the staging area for the fieldOfView plugins for krpano. A copy of these pages is included on krpano.com. The pages in this staging area may be newer than the respective pages on krpano.com.</p>
<ul>
<li><a href="http://krpano.com/plugins/userplugins/fieldofview">offical krpano.com pages</a></li>
<li><a href="https://github.com/fieldofview/krpano_fovplugins">source repository</a></li>
</ul>
</div>
<a name="top"></a>
<div id="krpano_contenttext">
<!-- USER CONTENT STARTS HERE -->
<h1>Imageadjust Plugin <span class="pluginfilename">imageadjust.swf</span>
<span class="flashhtml5">for Flash</span>
<div class="pluginautor">by Aldo Hoeben - <a href="http://fieldofview.com">fieldofview.com</a><br>
Includes ColorMatrix by <a href="http://gskinner.com">gskinner.com</a>
</div>
</h1>
<div class="paragraph">
<h2><a name="description" href="#description" class="selflink">Description</a></h2>
<p>A krpano plugin that lets you set the brightness/contrast, as well as hue/saturation and blur of the krpano view. <br>
</p>
</div>
<div class="paragraph">
<h2><a name="download" href="#download" class="selflink">Download</a></h2>
<div class="dlitem"> <a href="http://fieldofview.github.com/krpano_fovplugins/imageadjust.swf">imageadjust.swf</a> <small>(plugin only)</small></div>
<p>The imageadjust <a href="https://github.com/fieldOfView/krpano_fovplugins/tree/master/imageadjust">sources and examples</a> are available as part of the fovplugins package</p>
<div class="dlitem"> <a href="https://github.com/fieldOfView/krpano_fovplugins/zipball/master">fovplugins.zip</a> <small>(plugin, source code & examples)</small><br/>
</div>
</div>
<div class="paragraph">
<h2><a name="forum" href="#forum" class="selflink">krpano Forum Discussion Thread</a></h2>
<a href="http://krpano.com/forum/wbb/index.php?page=Thread&threadID=4823">Imageadjust Plugin Thread</a> </div>
<div class="paragraph">
<h2><a name="syntax" href="#syntax" class="selflink">Syntax / XML Usage Example</a></h2>
<pre class="xmlpre"><<a href="http://krpano.com/docu/xml/#plugin">plugin</a> <a href="http://krpano.com/docu/xml/#plugin.name">name</a>="imageadjust"
<a href="http://krpano.com/docu/xml/#plugin.url">url</a>="imageadjust.swf"
<a href="#enabled" class="pluginattrib">enabled</a>="true"
<a href="#brightness" class="pluginattrib">brightness</a>="1"
<a href="#contrast" class="pluginattrib">contrast</a>="0.1"
<a href="#hue" class="pluginattrib">hue</a>="1"
<a href="#saturation" class="pluginattrib">saturation</a>="0"
<a href="#blurradius" class="pluginattrib">blurradius</a>="0"
<a href="http://krpano.com/docu/xml/#plugin.keep">keep</a>="true"
/></pre>
</div>
<div class="paragraph">
<h2><a name="attributes" href="#attributes" class="selflink">Plugin Attributes</a></h2>
<dl>
<dt><a name="enabled" href="#enabled" class="selflink">enabled</a></dt>
<dd>enable/disable all adjustments.<br>
values: true/false, default: true </dd>
<dt><a name="brightness" href="#brightness" class="selflink">brightness</a></dt>
<dd>overall brightness of the krpano view.<br>
values: -1 - 1, default: 0</dd>
<dt><a name="contrast" href="#contrast" class="selflink">contrast</a></dt>
<dd>overall contrast of the krpano view.<br>
values: -1 - 1, default: 0 </dd>
<dt><a name="hue" href="#hue" class="selflink">hue</a></dt>
<dd>hue adjustment of the krpano view. <br>
values: -180 - 180, default: 0 </dd>
<dt><a name="saturation" href="#saturation" class="selflink">saturation</a></dt>
<dd>overall saturation of the krpano view. <br>
values: -1 - 1, default: 0 </dd>
<dt><a name="blurradius" href="#blurradius" class="selflink">blurradius</a></dt>
<dd>blurring of the krpano view. <br>
NB: a large blur radius may adversely impact performance!<br>
values: 0 or greater, default: 0</dd>
</dl>
</div>
<div class="paragraph">
<h2><a name="methods" href="#methods" class="selflink">Plugin Methods</a></h2>
<dl>
<dt><a name="enabled" href="#enabled" class="selflink">adjust</a>(brightness, contrast, hue, saturation, blurradius)</dt>
<dd>set all of the adjustment parameters in one go.</dd>
</dl>
</div>
<div class="paragraph">
<h2><a name="example" href="#example" class="selflink">Example</a></h2>
<script>
function showexample()
{
var iframe = '<iframe id="ccexample" name="ccframe" src="examples/imageadjust.html" width="100%" height="300" scrolling="no" marginheight="0" marginwidth="0" frameborder="0"></iframe>';
document.getElementById("example").innerHTML = iframe;
}
</script>
<div id="example" onclick="showexample();" style="width:100%;height:300px;color:white;background-color:black;border:1px solid gray;cursor:pointer;">
<table width="100%" height="100%" style="color:white;">
<tr valign="middle">
<td><center>
<b>CLICK TO VIEW EXAMPLE</b>
</center></td>
</tr>
</table>
</div>
</div>
<div class="paragraph">
<h2><a name="license" href="#license" class="selflink">License</a></h2>
<p><a href="http://creativecommons.org/licenses/by/3.0/"><img src="http://i.creativecommons.org/l/by/3.0/88x31.png" alt="CC-BY-3.0" width="88px" height="31px" hspace="8" border="0" align="right"></a> The plugin can be used free of charge, in commercial or non-commercial applications. The source code is available under a <a href="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution</a> license.</p>
<p>In a nutshell, this means you are free to use the software and its source code in your projects. If you use the source code in another software project, you are required to add attribution to the author(s). You are encouraged to share the your source code under a similar fashion, but it is not a requirement.</p>
<p><form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="float:right;margin:0 8px;">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="KZEYXA3FSY6PQ">
<input type="image" src="http://files.fieldofview.com/paypal-donate-button.png" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/WEBSCR-640-20110401-1/en_US/i/scr/pixel.gif" width="1" height="1">
</form> If you use the plugins regularly, you may consider making a donation so I can afford to continue making these plugins and making them available.</p>
</div>
<!-- USER CONTENT ENDS HERE -->
</div>
</div>
</div>
<div id="krpano_footerwrapper">
<div id="krpano_footer">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td align="right">Copyright © 2011 krpano.com</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<!-- Piwik -->
<script type="text/javascript">
var pkBaseURL = (("https:" == document.location.protocol) ? "https://logs.fieldofview.com/" : "http://logs.fieldofview.com/");
document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
</script><script type="text/javascript">
try {
var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 4);
piwikTracker.trackPageView();
piwikTracker.enableLinkTracking();
} catch( err ) {}
</script><noscript><p><img src="http://logs.fieldofview.com/piwik.php?idsite=4" style="border:0" alt="" /></p></noscript>
<!-- End Piwik Tracking Code -->
</body>
</html>