Image utility functions for Sphinx.
Unknown Field: copyright | |
Copyright 2007-2022 by the Sphinx team, see AUTHORS. | |
Unknown Field: license | |
BSD, see LICENSE for details. |
Variable | Image |
Undocumented |
Variable | mime_suffixes |
Undocumented |
Class | DataURI |
Undocumented |
Function | get_image_extension |
Undocumented |
Function | get_image_size |
Undocumented |
Function | guess_mimetype |
Undocumented |
Function | guess_mimetype_for_stream |
Undocumented |
Function | parse_data_uri |
Undocumented |
Function | test_svg |
An additional imghdr library helper; test the header is SVG's or not. |
Undocumented
Parameters | |
mimetype:str | Undocumented |
Returns | |
Optional[ | Undocumented |
Undocumented
Parameters | |
filename:str | Undocumented |
Returns | |
Optional[ | Undocumented |
Undocumented
Parameters | |
filename:str | Undocumented |
default:Optional[ | Undocumented |
Returns | |
Optional[ | Undocumented |
Undocumented
Parameters | |
stream:IO | Undocumented |
default:Optional[ | Undocumented |
Returns | |
Optional[ | Undocumented |
Undocumented
Parameters | |
uri:str | Undocumented |
Returns | |
Optional[ | Undocumented |