Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Most efficient way to paint on 8-bit indexed images
Qt 6.11 is out! See what's new in the release blog

Most efficient way to paint on 8-bit indexed images

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 2.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    amtm
    wrote on last edited by
    #1

    From reading the docs of qimage I see that painting is not supported on 8-bit indexed qimages. I'm working on a program that manipulates bitmap DVD subtitle images that are 8-bit. Outside of hacking qpainter to support this, since it doesn't seem to be a priority [url=https://bugreports.qt.nokia.com/browse/QTBUG-4459?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#issue-tabs]to fix[/url] as this limitation appears to have existed for a while now, is there any more efficient way to do paint operations instead of converting from 8-bit to 24-bit, do paint operations, then convert back to 8-bit?

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved