Summary: | No support for 30bpp X11 display | ||
---|---|---|---|
Product: | [Applications] Spectacle | Reporter: | Martin Herkt <lachs0r> |
Component: | General | Assignee: | Boudhayan Gupta <me> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | mia+kde |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kscreengenie/83ef53e30c593642416a2d8c2f6ef950ffe112f3 | Version Fixed In: | 16.04 |
Sentry Crash Report: | |||
Attachments: | xdpyinfo output |
Description
Martin Herkt
2016-03-27 11:48:46 UTC
Right, this is something we're interested in. Do you know what the pixel format is in a 30bpp XImage? Or could you point us to someone who does? Created attachment 98112 [details]
xdpyinfo output
Whew, no idea if that helps, but I’ve attached xdpyinfo output. Goldmine. Thanks, I'll get this done in time for the next release (16.04) Awesome. Poke me if you need me to test patches. I’m lachs0r @ freenode. Git commit 83ef53e30c593642416a2d8c2f6ef950ffe112f3 by Boudhayan Gupta. Committed on 27/03/2016 at 16:04. Pushed by bgupta into branch 'Applications/16.04'. Use QImage's 30bpp BGR image format for 30bpp XImage FIXED-IN: 16.04 M +3 -12 src/PlatformBackends/X11ImageGrabber.cpp http://commits.kde.org/kscreengenie/83ef53e30c593642416a2d8c2f6ef950ffe112f3 Is this fixed? I have no way to test. Yes, it is. At least I get correct colors now :) Now if it could save at higher bit depth as well, that would be the icing on the cake. Qt's image processor can only handle 8 bits per component. Format_BGR30 just downscales 10bits of precision to 8bits. You'll have to file a QTBUG for this :-( Looks like it’s regressed as of Spectacle 21.08.3. More precisely it looks like the color channels are swapped. (In reply to Mia Herkt from comment #10) > Looks like it’s regressed as of Spectacle 21.08.3. More precisely it looks > like the color channels are swapped. Actually fixed in e6d64481699c5bfac8d552455c0ffc2a8ac68f4f: https://invent.kde.org/graphics/spectacle/-/commit/e6d64481699c5bfac8d552455c0ffc2a8ac68f4f |