This sets the format type of the current phImage's data buffer but does not perform any conversion of the current data.
- Parameters:
-
| type | The phImageType format value that represents the format of the current phImage data buffer. |
- Returns:
- A value denoting the success of setting the format value.
- Return values:
-
| phSUCCESS | Setting the format member variable succeeded. |
| phFAIL | The format setting failed. |
Definition at line 173 of file phImage.cpp. |