z_media_sanitize (zotonic_core v1.0.0-rc.12)
Link to this section Summary
Functions
Check the contents of an identified file, to see if it is acceptable for further processing. Catches files that might be problematic for ImageMagick or other file processors.
Sanitize uploaded media (SVG) files.
Link to this section Functions
Link to this function
is_file_acceptable(File, MediaProps)
-spec is_file_acceptable(file:filename_all(), z_media_identify:media_info()) -> boolean().
Link to this function