Comparing version 1.1.1 to 1.1.2
@@ -0,1 +1,8 @@ | ||
1.1.2 / 2016-05-05 | ||
------------------ | ||
- Fixed typo in RGBA blur math equations (regression from 1.1.0), | ||
thanks to @tonykwok. | ||
1.1.1 / 2015-11-10 | ||
@@ -2,0 +9,0 @@ ------------------ |
@@ -139,6 +139,6 @@ // Calculate Gaussian blur of an image using IIR filter | ||
for (j = width - 1; j >= 0; j--) { | ||
curr_out_r = curr_src_r * coeff_a0 + curr_src_r * coeff_a1 + prev_out_r * coeff_b1 + prev_prev_out_r * coeff_b2; | ||
curr_out_g = curr_src_g * coeff_a0 + curr_src_g * coeff_a1 + prev_out_g * coeff_b1 + prev_prev_out_g * coeff_b2; | ||
curr_out_b = curr_src_b * coeff_a0 + curr_src_b * coeff_a1 + prev_out_b * coeff_b1 + prev_prev_out_b * coeff_b2; | ||
curr_out_a = curr_src_a * coeff_a0 + curr_src_a * coeff_a1 + prev_out_a * coeff_b1 + prev_prev_out_a * coeff_b2; | ||
curr_out_r = curr_src_r * coeff_a0 + prev_src_r * coeff_a1 + prev_out_r * coeff_b1 + prev_prev_out_r * coeff_b2; | ||
curr_out_g = curr_src_g * coeff_a0 + prev_src_g * coeff_a1 + prev_out_g * coeff_b1 + prev_prev_out_g * coeff_b2; | ||
curr_out_b = curr_src_b * coeff_a0 + prev_src_b * coeff_a1 + prev_out_b * coeff_b1 + prev_prev_out_b * coeff_b2; | ||
curr_out_a = curr_src_a * coeff_a0 + prev_src_a * coeff_a1 + prev_out_a * coeff_b1 + prev_prev_out_a * coeff_b2; | ||
@@ -145,0 +145,0 @@ prev_prev_out_r = prev_out_r; |
{ | ||
"name": "glur", | ||
"description": "Fast Gaussian Blur in pure JavaScript, via IIR filer. Speed does not depend on blur radius.", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"keywords": [ | ||
@@ -6,0 +6,0 @@ "blur", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12666