media_identify_extension

Try to find a filename extension for a mime type (example: “.jpg”)

Type:
first
Return:
Extension (for example <<".png">>) or undefined
#media_identify_extension{} properties:
  • mime: binary
  • preferred: undefined|binary

Edit on GitHub