Article View: comp.sys.next.programmer
Article #1729Re: NXImage problem
From: Ali Ozer
Date: Sun, 04 Oct 1992 20:19
Date: Sun, 04 Oct 1992 20:19
23 lines
1556 bytes
1556 bytes
In article <1992Oct2.025228.1464@monu6.cc.monash.edu.au> Robert D. Nicholson writes: >ede978e@monu6.cc.monash.edu.au (Robert D. Nicholson) writes: >>I had an NXImage working perfectly under 2.1 E. Now all I get >>is a black area under 3.0 >Further to this, I had it on a 040 mono cube on 2.1 and I now am >experiencing this problem on a ColorStation running 3.0 Gold. I haven't seen the original message, but seeing this bit about mono vs color I can make a guess as to what your problem is. Your image probably has alpha, and you are compositing it with COPY instead of SOVER. When you do this, the destination ends up getting transparent bits, and transparent bits look black on the color machines and white on the mono machines. (Think of it as seeing the back side of your monitor! It's going to be machine dependent. 8-) ) Unless you know that your image has no transparency (in which case COPY and SOVER are the same), the best way to display an image in a window is to use to SOVER mode after displaying what's supposed to be behind it. If this does turn out to be the problem, then it has nothing to do with 2.1 vs 3.0. Ali, Ali_Ozer@NeXT.com
Technical Details
Message-ID:
<5286@rosie.NeXT.COM>Path:
arc1-ca.pugleaf.net!sparky!uunet!rosie!aozerReferences:
<1992Oct2.003249.13165@monu6.cc.monash.edu.au> <1992Oct2.025228.1464@monu6.cc.monash.edu.au>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!rosie!aozer From: aozer@next.com (Ali Ozer) Newsgroups: comp.sys.next.programmer Subject: Re: NXImage problem Message-ID: <5286@rosie.NeXT.COM> Date: 4 Oct 92 20:19:31 GMT References: <1992Oct2.003249.13165@monu6.cc.monash.edu.au> <1992Oct2.025228.1464@monu6.cc.monash.edu.au> Sender: news@NeXT.COM Organization: Next Computer, Inc. Lines: 26