Skip to content

Preview magic pixel colors in editor #62

Description

@SimplyLiz

https://doc.qt.io/qt-5/qimage.html#QImage-4
here
there is a QImage constructor
you just have to give PixelBuffer::data()
as the buffer
& make sure that you don't destroy the pb until the image is destroyed
for format, use QImage::Format_RGBA8888
you can load a Pb using fs::readPNGImage
& you can also scale it

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions