You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
Converting RGB8888 to ARGB32_Premultiplied (for performance reasons)
This commit is contained in:
committed by
FeRD (Frank Dana)
parent
ab4916247b
commit
096c2c409d
@@ -67,7 +67,7 @@ void QtTextReader::Open()
|
||||
if (!is_open)
|
||||
{
|
||||
// create image
|
||||
image = std::make_shared<QImage>(width, height, QImage::Format_RGBA8888);
|
||||
image = std::make_shared<QImage>(width, height, QImage::Format_ARGB32_Premultiplied);
|
||||
image->fill(QColor(background_color.c_str()));
|
||||
|
||||
QPainter painter;
|
||||
|
||||
Reference in New Issue
Block a user