You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
Added alpha to all FFmpegReader source images, which is needed by the timeline class. Also, added alpha to the AddColor() method. Now even the background of the timeline can be transparent, along with all layers... even the bottom layer.
This commit is contained in:
@@ -432,7 +432,7 @@ void Frame::AddColor(int width, int height, string color)
|
||||
image = tr1::shared_ptr<Magick::Image>(new Magick::Image(Magick::Geometry(width, height), Magick::Color(color)));
|
||||
|
||||
// Give image a transparent background color
|
||||
image->backgroundColor(Magick::Color("none"));
|
||||
image->backgroundColor(Magick::Color("#000000ff"));
|
||||
|
||||
// Update height and width
|
||||
width = image->columns();
|
||||
|
||||
Reference in New Issue
Block a user