View Source Claper.Tasks.Converter (Claper v1.7.0)

This module is used to convert presentations from PDF or PPT to images. We use a hash to identify the presentation. A new hash is generated when the conversion is finished and the presentation is being uploaded.

Link to this section Summary

Functions

Remove the presentation files directory

Convert the presentation file to images. We use original hash :erlang.phash2(code-name) where the files are uploaded to send it to another folder with a new hash. This last stored in db.

Link to this section Functions

Remove the presentation files directory

Link to this function

convert(user_id, file, hash, ext, presentation_file_id)

View Source

Convert the presentation file to images. We use original hash :erlang.phash2(code-name) where the files are uploaded to send it to another folder with a new hash. This last stored in db.