You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
Adding the initial version of the decklink writer, and a fully working (full circle) blackmagic example executabe, which processes real-time HD video and output's it via HDMI.
This commit is contained in:
@@ -400,9 +400,11 @@ int Frame::GetWidth()
|
||||
void Frame::TransparentColors(string color, double fuzz)
|
||||
{
|
||||
// Make this range of colors transparent
|
||||
image->colorFuzz(fuzz * 65535 / 100.0);
|
||||
image->transparent(Magick::Color(color));
|
||||
image->colorFuzz(0);
|
||||
//image->colorFuzz(fuzz * 65535 / 100.0);
|
||||
//image->transparent(Magick::Color(color));
|
||||
//image->colorFuzz(0);
|
||||
image->negate();
|
||||
image->flip();
|
||||
}
|
||||
|
||||
// Save the frame image to the specified path. The image format is determined from the extension (i.e. image.PNG, image.JPEG)
|
||||
|
||||
Reference in New Issue
Block a user