Copyright © 2016 Marc Worrell
Authors: Marc Worrell (marc@worrell.nl).
is_file_acceptable/2 | Check the contents of an identified file, to see if it is acceptable for further processing. |
sanitize/2 | Sanitize uploaded media (SVG) files. |
is_file_acceptable(File::file:filename_all(), MediaProps::z_media_identify:media_info()) -> boolean()
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(Media_upload_preprocess, Context) -> any()
Sanitize uploaded media (SVG) files.
Generated by EDoc