Category: Supabase and databases

Supabase Storage: Transform image returns error for HEIC

Read this guide in Polish

The attempt to generate a miniature from the photo ends with a refusal or an empty image.

How to identify the source of the problem

Check the source format and list of types supported by Image Transformations.

Compare the result for the authorized and unauthorised user, project name and exact error code.

Repair steps

Convert the unsupported format to the approved upload and keep the original if needed.

How to Test Solution

The miniature opens on the mobile and desktop, maintaining correct proportions.

Security and restrictions

Change permissions and scheme first on test data with backup. Do not put service role in your browser.