这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@scribblemaniac
Copy link
Member

This PR contains small fixes for two issues:

  1. Transparent areas turning black when transformed (Frames imported with Movie Video Import produce alpha channel artifacts #1641)
  2. The view does not update after cancelling a selection with the escape shortcut.

// so that the area beyond the image bounds is transparent.
if (!mBounds.contains(rectangle) && !image()->hasAlphaChannel())
{
image()->convertTo(QImage::Format_ARGB32);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will change to convertToFormat, thanks.

@scribblemaniac scribblemaniac added the 🔹 Minor PR (only one reviewer required) label Jul 1, 2021
@chchwy chchwy merged commit 457d4f5 into pencil2d:master Jul 13, 2021
@chchwy
Copy link
Member

chchwy commented Jul 13, 2021

Tested and work as expected. I am merging this, will push a QImage::convertTo() later on.

@Jose-Moreno Jose-Moreno modified the milestones: 0.7.0, v0.6.7 Aug 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🔹 Minor PR (only one reviewer required) Transform

Projects

Development

Successfully merging this pull request may close these issues.

Frames imported with Movie Video Import produce alpha channel artifacts

3 participants