hrev45248 adds 1 changeset to branch 'master' old head: 51fe39ae0fe2e7c1b5f3b8a5de09f31fbb5f61fd new head: 74e14f5c701c73f1367548e8e7d72ba6434830a2 overview: http://cgit.haiku-os.org/haiku/log/?qt=range&q=74e14f5+%5E51fe39a ---------------------------------------------------------------------------- 74e14f5: Fix #8781. Display rotated images with alpha channel properly Signed-off-by: Axel Dörfler <axeld@xxxxxxxxxxxxxxxx> [ Janus <janus2@xxxxxxxxx> ] ---------------------------------------------------------------------------- Revision: hrev45248 Commit: 74e14f5c701c73f1367548e8e7d72ba6434830a2 URL: http://cgit.haiku-os.org/haiku/commit/?id=74e14f5 Author: Janus <janus2@xxxxxxxxx> Date: Wed Feb 6 22:07:21 2013 UTC Committer: Axel Dörfler <axeld@xxxxxxxxxxxxxxxx> Commit-Date: Thu Feb 7 22:01:11 2013 UTC Ticket: https://dev.haiku-os.org/ticket/8781 ---------------------------------------------------------------------------- 1 file changed, 3 insertions(+) src/apps/showimage/ShowImageView.cpp | 3 +++ ---------------------------------------------------------------------------- diff --git a/src/apps/showimage/ShowImageView.cpp b/src/apps/showimage/ShowImageView.cpp index d82d3c8..3f88995 100644 --- a/src/apps/showimage/ShowImageView.cpp +++ b/src/apps/showimage/ShowImageView.cpp @@ -1714,6 +1714,9 @@ ShowImageView::_DoImageOperation(ImageProcessor::operation op, bool quiet) _DeleteBitmap(); fBitmap = bm; + if (fBitmap->ColorSpace() == B_RGBA32) + fDisplayBitmap = compose_checker_background(fBitmap); + if (!quiet) { // remove selection _SetHasSelection(false);