Initial code for Sharpen effect.

This commit is contained in:
Jonathan Thomas
2025-05-23 15:08:51 -05:00
parent 36e6ea34f0
commit fd1ddb6c2b
4 changed files with 439 additions and 0 deletions

View File

@@ -12,6 +12,7 @@
#include "EffectInfo.h"
#include "Effects.h"
#include "effects/Sharpen.h"
using namespace openshot;
@@ -64,6 +65,9 @@ EffectBase* EffectInfo::CreateEffect(std::string effect_type) {
else if (effect_type == "Saturation")
return new Saturation();
else if (effect_type == "Sharpen")
return new Sharpen();
else if (effect_type == "Shift")
return new Shift();
@@ -134,6 +138,7 @@ Json::Value EffectInfo::JsonValue() {
root.append(Negate().JsonInfo());
root.append(Pixelate().JsonInfo());
root.append(Saturation().JsonInfo());
root.append(Sharpen().JsonInfo());
root.append(Shift().JsonInfo());
root.append(Wave().JsonInfo());
/* Audio */