parse_from_mime method
Leave feedback
On this page
Returns an Image2DFormat value that corresponds to the specified MIME code.
def parse_from_mime(cls, mime_code):
...
| Parameter | Type | Description |
|---|---|---|
| mime_code | str |
Arbitrary MIME-code. |
Returns: Image2DFormat: Image2DFormat value. Returns Image2DFormat.undefined if the extension cannot be recognized.
- class
Image2DFormat
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.