Bug 32068

Summary: Create Image fallback for A8 format due to missing Qt support
Product: cairo Reporter: Oleg Romashin <romaxa>
Component: qt backendAssignee: cairo-bugs mailing list <cairo-bugs>
Status: RESOLVED MOVED QA Contact:
Severity: normal    
Priority: medium    
Version: 1.9.13   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Create cairo image surface in case of a8

Description Oleg Romashin 2010-12-02 23:21:41 UTC
Created attachment 40757 [details] [review]
Create cairo image surface in case of a8 

Qt does not support rendering into A8 format, so cairo-qt in that case just fail
.............
QPainter::begin: Cannot paint on an image with the QImage::Format_Indexed8
format
Segmentation fault
QImage does not support painting on A8 surface, and not possible create
qpainter.
.............

https://bugzilla.mozilla.org/show_bug.cgi?id=602171


http://doc.qt.nokia.com/4.7/qimage.html#Format-enum
Note: Drawing into a QImage with QImage::Format_Indexed8 is not supported.
Comment 1 Bryce Harrington 2015-06-26 02:07:21 UTC
Anyone happen to know if this is still an issue with Qt?  It's been 5 years since this issue was filed so perhaps this is no longer necessary?
Comment 2 GitLab Migration User 2018-08-25 13:35:40 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/cairo/cairo/issues/87.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.