Closed Bug 81353 Opened 24 years ago Closed 23 years ago

Add getter for mAlphaDepth to nsIImage

Categories

(Core :: Graphics: ImageLib, defect)

defect
Not set
trivial

Tracking

()

RESOLVED FIXED
mozilla0.9.5

People

(Reporter: lordpixel, Assigned: pavlov)

References

Details

(Whiteboard: r=pavlov, sr=sfraser, a=blizzard)

Attachments

(1 file)

nsIImages are either maskless, or they have a 1 bit alpha channel, or an 8 bit 
alpha channel. This is stored in a variable called mAlphaDepth.

The patch I'm about to attach exposes this variable through a getter method on 
all platforms. No setter is provided so its read only and pretty risk free.
Keywords: patch, review
Blocks: 46177
r=pavlov.  can you get someone else to sr= this and check this in for you?
sr=sfraser
Whiteboard: r=pavlov, sr=sfraser, need a=
lordpixel: can you email drivers@mozilla.org and get a= for this.
if you get a= for this, i'll move it to 0.9.2 and check it in.
Target Milestone: --- → mozilla0.9.3
Blocks: 83989
a=blizzard on behalf of drivers for the trunk
Whiteboard: r=pavlov, sr=sfraser, need a= → r=pavlov, sr=sfraser, need a=blizzard
Whiteboard: r=pavlov, sr=sfraser, need a=blizzard → r=pavlov, sr=sfraser, a=blizzard
-> 0.9.4
Target Milestone: mozilla0.9.3 → mozilla0.9.4
Target Milestone: mozilla0.9.4 → mozilla0.9.5
Can we get this "in" ASAP, please ?
Blocks: 85388
a= was valid for 0.9.2 it seems. Can we get an updated a= on this?
This was checked in. (Mark it fixed?)
Fix checked in by cls
(http://bonsai.mozilla.org/cvsquery.cgi?module=MozillaTinderboxAll&branch=HEAD&cvsroot=/cvsroot&date=explicit&mindate=998992860&maxdate=998993340&who=cls%25seawood.org)
- thanks !
Tinderbox is GREEN and it works in my local builds... :-)

Marking bug as FIXED. 
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: