Made in Pennsylvania, USA 🇺🇸 by Breakfast
HEIC Support for Moodle
A free and open-source plugin for Moodle that converts iPhone .heic and .heif images to .jpg as they are uploaded.
FEATURES
- Teaches Moodle the
.heicand.heiffile types, so they count as accepted file types - Converts uploads as they arrive. A
.heicfile becomes a.jpgthe moment it is uploaded, before Moodle stores it - Converts HEIC images already in Moodle. A Convert to .jpg button appears beside
.heicimages and file links for people allowed to edit them - Shows HEIC submissions in the assignment grader, so teachers can mark them up with Annotate PDF
Conversion is free on servers where PHP has the Imagick extension and ImageMagick can read HEIC. Check Site administration → Plugins → Document converters → HEIC Support after installing. A server that can convert shows its ImageMagick version there and needs nothing more.
Where to see it
- Uploads: anywhere people upload with Moodle’s file picker, such as assignment submissions, quiz essay attachments, forum posts and course files. The
.jpgis stored instead of the.heic. An image that cannot be converted is stored unchanged. - Image-only uploads: the text editor’s Image button, profile pictures and course images refuse
.heicin plain Moodle. While the site can convert, they accept it and store a.jpg. - Convert to .jpg button: beside
.heicimages and file links already in Moodle, such as images on a page, forum attachments and files in the assignment grader. Above an image the browser cannot show, a red box reads “Cannot display .heic image”. Each conversion is recorded in Moodle’s logs as “HEIC image converted”. - Assignment grader: with Annotate PDF feedback, a
.heicsubmission shows as a photo teachers can mark up. The student’s file is not changed.
Install
- Download the .ZIP from Moodle Marketplace.
- Upload it at Site administration → Plugins → Install plugins, or unzip it into
files/converter/heic(public/files/converter/heicon Moodle 5.1 and later) and visit Site administration. - Open Site administration → Plugins → Document converters → HEIC Support to see whether your server can convert.
Requirements
- Moodle 4.5 or later. Tested on Moodle 4.5 and 5.3, with PostgreSQL and MySQL.
- Either PHP Imagick with HEIC support on the Moodle server, or a license key with cloud conversion credits.
- For cloud conversion only: outbound HTTPS from the Moodle server to
breakfastco.xyzandheic.breakfastco.xyz.
Frequent Questions
Do I need a license key?
Only if your Moodle server can’t convert HEIC images itself. Not all hosts provide the server software needed to convert. Cloud conversion lets the plugin work on any server: images are converted on our servers using credits on a license key. One credit converts one image, and credits don’t expire. Credits are available on our Moodle Marketplace listing.
Is the original .heic file kept?
No. Uploads are stored as .jpg instead of .heic, and the Convert to .jpg button replaces the .heic with the .jpg in place. The one exception is the assignment grader, which shows a converted copy and leaves the student’s file as it was submitted.
What happens if my server can’t convert and there’s no license key?
Nothing changes. .heic uploads are stored as they are, the Convert to .jpg button doesn’t appear, and the assignment grader can’t show HEIC submissions.
Privacy
Nothing leaves your server when it converts images itself. When cloud conversion is used, the image, its file name and the site address are sent to the conversion service at breakfastco.xyz. Images are processed in memory and the temporary files are deleted immediately after conversion; they are not stored or shared. The plugin stores no personal data in Moodle. See our Privacy Policy.
Help & Feedback
- Have an idea for a new feature? Open an issue on GitHub.
- Using WordPress? See HEIC Support for WordPress.