SilverScreen Solid Modeler

SS_IMAGE_INFO        

SS_IMAGE_INFO        

Previous topic Next topic  

SS_IMAGE_INFO        

Previous topic Next topic JavaScript is required for the print function  

SilverScreenAPI

 

SS_IMAGE_INFO

 

Structure

This data type is used to store information retrieved about an image.

 

 

 struct SS_IMAGE_INFO

    {

    INT32    pixel_width;

    INT32    pixel_height;

    INT32    horizontal_DPI;

    INT32    vertical_DPI;

    INT32    bits_per_pixel;

    INT32    number_of_colors;

    INT32    texture_width_PO2;

    INT32    texture_height_PO2;

    };

 

 


Members

Member

Description

pixel_width

The width of the image in pixels

pixel_height

The height of the image in pixels

horizontal_DPI

horizontal resolution of the image in dots-per-inch if present, otherwise 0

vertical_DPI

vertical resolution of the image in dots-per-inch if present, otherwise 0

bits_per_pixel

The number of bits used to store each pixel in memory (i.e. 8 bits for 256 colors)

number_of_colors

The number of colors in the palette of the image when 'bits_per_pixel' is less than or equal to 8.

texture_width_PO2

The width of the image when resampled for use as a texture

texture_height_PO2

The height of the image when resampled for use as a texture

 

 

See Also

get_image_info

 

Header

silver.h