Difference between revisions of "Image"

m
Line 2: Line 2:
 
== Functions ==
 
== Functions ==
 
These functions have parentheses in odd places. This is because the Image: namespace is reserved in Mediawiki.
 
These functions have parentheses in odd places. This is because the Image: namespace is reserved in Mediawiki.
{{#ask: [[Category:Functions]] [[parent::Image]] OR [[parent::Drawable]]
+
{{#ask: [[Category:Functions]] [[parent::Image]]
 +
| headers=hide
 +
| ?Description
 +
}}
 +
{{#ask: [[Category:Functions]] [[parent::Drawable]]
 
| headers=hide
 
| headers=hide
 
| ?Description
 
| ?Description

Revision as of 01:45, 13 February 2011

Drawable image type.

Functions

These functions have parentheses in odd places. This is because the Image: namespace is reserved in Mediawiki.

(Image):getDataGets the original ImageData or CompressedData used to create the Image.
(Image):getFlagsGets the flags used when the image was created.
(Image):isCompressedGets whether the Image was created from CompressedData.
(Image):isFormatLinearGets whether the Image was created with a the linear (non-gamma corrected) flag set to true.
(Image):refreshReloads the Image's contents from the ImageData or CompressedData used to create the image.
(Image):replacePixelsReplace the contents of an Image.

Supertypes

Drawable

See Also

Other Languages