Closed Bug 33371 Opened 24 years ago Closed 24 years ago

[Mac] Logo in installer should have transparent background

Categories

(SeaMonkey :: Installer, defect, P1)

PowerPC
Mac System 8.6

Tracking

(Not tracked)

VERIFIED WONTFIX

People

(Reporter: mpt, Assigned: samir_bugzilla)

References

Details

(Keywords: helpwanted, polish)

Attachments

(2 files)

Build: 2000032508, MacOS 8.6

To reproduce:
* Start the Mac installer.
* Select `About Mozilla Installer ...' from the Apple menu.

What you should see in the About box:
* A red star surrounded by the gray of the Apple Platinum appearance.

What you actually see:
* A red star surrounded by a white rectangle.
reassigning to Samir.
Assignee: ssu → sgehani
Status: NEW → ASSIGNED
Target Milestone: --- → M18
updating mac mozilla installer QA contact to me
QA Contact: gbush → asa
Adding helpwanted
ccing people who might be able to do this.
Keywords: helpwanted, polish, ui
Yea gawds! Somebody tell me where the installer lives in CVS and I'll fix this 
one...
This image is not a GIF, its a PICT in a resource in
/mozilla/xpinstall/wizard/mac/rsrc
then
mozilla.rsrc or netscape.rsrc depending on whether commercial or not.

Since its a PICT it doesn't support transparency (well Graphic Converter claims 
PICTS support alpha channels, but if you try to save one with an Alpha Channel it 
isn't transparent when you reload- besides, PICTs in resources and PICTS in files 
are two different things I think)

So to fix:

Figure how to use GIFs instead
Have multiple images, one for each background colour you want to blend width and 
fix the code.
Well, what do toolbar button icons in apps like 4.x and MS Office use, so that 
they can have a transparent background? Surely they don't use GIFs.
WIth icons, you can specify a mask (either 1-bit or 8-bit, depending on what type 

of icon). Where it's black, the icon is drawn; where it's white, nothing is 

drawn.



One solution I can think of is to make a mask for the PICT, and draw the picture 

manually.



I'm sure there is a better way, though.

*** Bug 51502 has been marked as a duplicate of this bug. ***
Aparently, its a simple as this:

>In PhotoShop, you can let a new image have a transparent background. Then 
>just copy the non-white parts of your pict into that. Deselect, cmd-a, 
>cmd-c, and in ResEdit cmd-v.
>In your app call GetPicture() and DrawPicture().

But none of the s/w I have seems to understand PICTs with alpha channels. Perhaps 
someone with access to Photoshop can help?
I filed a bug on it and the authour of Graphic Converter graciously sent me a 
beta with the alpha support for PICTs fixed - so I attached the image with the 
correct alpha channel.

Unfortunately it doesn't solve the problem... either somehow ResEdit is removing 
the alpha channel or the way the image is being displayed in the about box is 
ignoring alpha information.

What I've been hearing asking around the Mac programing community is that this 
can definately be done, but you need a user control... eg.

>Another possibility would be to make sure your image doesn't use white and
>then use CopyBits with transparent mode to blit the image. You may need to
>roll your own CDEF to do this. (Load the PICT into a GWorld and then blit
>the gworld to the port.)

Obviously one will have to change the image so the white in the teeth and eyes is 
#FEFFE or something, to avoid these becoming transaparent too.
Recent versions of StuffIt Expander have an Aladdin logo with a transparent 
background in their progress window. Perhaps you could poke around in StuffIt's 
resources and see what they're doing?
Priority: P3 → P1
Unsetting missed milestones to aid triage queries.
Target Milestone: M18 → ---
This is irrelevant since we will be checking in a version with an image well
shortly.  
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → WONTFIX
vfd
Status: RESOLVED → VERIFIED
QA Contact: asa → gbush
Blocks: 54975
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: