Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] ImageData.getDepth() ?


Hi Diego,

width, height, depth and palette are public attributes of your ImageData instance. Use myImageData.depth where myImageData is your instance of class ImageData
For further details, please check the javadoc of ImageData,

Chrix



"Diego Tognola" <diego@xxxxxxxxxxx>
Sent by: platform-swt-dev-admin@xxxxxxxxxxx

11/24/2003 05:48 AM
Please respond to platform-swt-dev

       
        To:        <platform-swt-dev@xxxxxxxxxxx>
        cc:        
        Subject:        [platform-swt-dev] ImageData.getDepth() ?



Hi all,

silly question, but: is there any way to get the image depth out of an Image
or its ImageData ? Given the constructor

public ImageData(int width, int height, int depth, PaletteData palette)

I was expecting a getter for the depth - but there isn't any...or ?


cheers,
Diego

_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-swt-dev



Back to the top