Skip to content

Commit

Permalink
Added imageadjust.swf
Browse files Browse the repository at this point in the history
Removed some debugcode from autolevels
  • Loading branch information
fieldOfView committed Apr 7, 2011
1 parent 4bfc6f2 commit 83364a5
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 12 deletions.
Binary file modified autolevels.swf
Binary file not shown.
13 changes: 1 addition & 12 deletions autolevels/source/autolevels.as
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,7 @@ package {

private var panosprite:Sprite = null;
private var meterbitmap:BitmapData = null;

private var preview:Bitmap = null;

private var t:Number=0;


public function autolevels() {
if (stage == null) {
this.addEventListener(Event.ADDED_TO_STAGE, this.startPlugin);
Expand Down Expand Up @@ -82,11 +78,6 @@ package {
this.panosprite = krpano.get("image.layer");
this.meterbitmap = new BitmapData(80,60,false);

this.preview = new Bitmap();
this.preview.x = 10;
this.preview.y = 10;
//addChild(this.preview);

this.activecolortransform = new ColorTransform();

// todo: only update scalematrix on screen resizes
Expand Down Expand Up @@ -226,8 +217,6 @@ package {
this.meterbitmap.draw(this.panosprite,this.scalematrix);
var histogram:Vector.<Vector.<Number>> = meterbitmap.histogram();

this.preview.bitmapData = this.meterbitmap;

// analyse histogram
var minvalues:Array = new Array();
var maxvalues:Array = new Array();
Expand Down
Binary file added imageadjust.swf
Binary file not shown.

0 comments on commit 83364a5

Please sign in to comment.