25 August 2014, 18:55 | #1 |
XoXo/Tasko Developer
Join Date: Dec 2013
Location: Munich
Age: 48
Posts: 450
|
Alphachannel
Hi,
I am trying to display image data with alphachannel. It seems like the cybergraphics.library ignores the alpha data. Is this true? Tested with os 3.1 and 4.1! Code:
movem.w oxO_left(a3),d3-d4 ; dest x y moveq #3,d5 moveq #7,d6 moveq #0,d0 ; x in source moveq #0,d1 ; y in source moveq #12,d2 ; Bytes per row in source moveq #RECTFMT_RGBA,D7 testpicture dc.l $FF000088,$00FF0088,$0000FF88 dc.l $FF000077,$00FF0077,$0000FF77 dc.l $FF000066,$00FF0066,$0000FF66 dc.l $FF000055,$00FF0055,$0000FF55 dc.l $FF000044,$00FF0044,$0000FF44 dc.l $FF000033,$00FF0033,$0000FF33 dc.l $FF000022,$00FF0022,$0000FF22 |
25 August 2014, 20:27 | #2 |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 6,985
|
|
25 August 2014, 20:29 | #3 |
XoXo/Tasko Developer
Join Date: Dec 2013
Location: Munich
Age: 48
Posts: 450
|
Ok, thanks, time for a workaround. Any ideas? I could read a line into my own buffer and calc the alpha by myself, then write the line back? Is there a better way to perform this?
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
|
|