Given a data containing serialized content, return an SkImage from it.
- Parameters
-
data | The data containing the encoded image. The subclass may ref this for later decoding, or read it and process it immediately. |
subset | Optional rectangle represent the subset of the encoded data that is being requested to be turned into an image. |
- Returns
- The new image, or nullptr on failure.
The default implementation is to call SkImage::MakeFromEncoded(...)
The documentation for this class was generated from the following file: