Most efficient way to paint on 8-bit indexed images



  • 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?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.