- Test JPEG and PNG files to isolate HEIC-specific decoding problems.
- Check official Windows HEIF and HEVC extensions before reinstalling SumatraPDF.
- Use a clean portable test or convert stubborn images safely.
When a HEIC or HEIF image will not open in SumatraPDF, the failure usually comes from one of four places: the file is not a supported HEIF variant, Windows lacks the codec needed to decode it, the file association is sending the image to the wrong application, or the source file is damaged or mislabeled. There is no ordinary SumatraPDF setting that turns HEIC decoding on or off, so repeatedly changing unrelated PDF, printing, or display options is unlikely to help.
The quickest approach is to test the file separately from SumatraPDF, confirm whether ordinary JPEG and PNG images work, and then check Windows HEIF and HEVC support. This guide walks through those tests without requiring developer tools or risky system changes.

Start with free Canva bundles
Browse the freebies page to claim ready-to-use Canva bundles, then get 25% off your first premium bundle after you sign up.
Free to claim. Canva-ready. Instant access.
1. Confirm the Symptom With a Simple Image Test
Start by determining whether the problem affects one HEIC file, every HEIC file, or images in general. This distinction prevents unnecessary reinstalls and settings resets.
1.1 Test JPEG and PNG files in SumatraPDF
Open SumatraPDF directly, choose the command for opening a file, and select a known-good JPEG or PNG image. Use a small image that opens correctly in Windows Photos or another trusted image viewer.
Interpret the result as follows:
- If JPEG and PNG files display correctly, SumatraPDF is generally able to open images. Concentrate on HEIF support, Windows codecs, and the source HEIC file.
- If JPEG and PNG files also fail, the issue is broader than HEIC. Test a clean SumatraPDF instance and review file permissions or damaged settings.
- If the image opens from inside SumatraPDF but not when double-clicked, the Windows file association is the likely problem.
Success means the JPEG or PNG appears normally, with the expected dimensions and colors. Once that happens, stop changing general display settings because the rendering path is working for common image formats.
1.2 Compare more than one HEIC image
Do not rely on a single image as the test case. HEIF is a container format, and files using the same extension can contain images encoded in different ways. A file may also be incomplete, corrupted, or incorrectly renamed.
Try at least two HEIC images from known sources. For example, compare the failing image with a fresh photo exported from a phone or with a HEIC file that opens successfully in Windows Photos. If one works and the other does not, the problem is probably specific to the failing file rather than a global SumatraPDF configuration problem.
1.3 Check whether the file is really HEIC or HEIF
Changing a filename extension does not convert its contents. A file renamed from AVIF, JPEG, WebP, or another format to .heic remains encoded in its original format. Likewise, a damaged download may retain a .heic extension even though its contents are incomplete.
Open the file in Windows Photos or another established image application. If no trusted viewer can open it, obtain a new copy from the original device, cloud service, email, or download source. A settings reset cannot repair missing image data.
2. Check Format Support and File Associations
The phrase HEIC is commonly used for photos stored in a HEIF container, often with HEVC image compression. Support therefore involves more than recognizing the .heic or .heif extension. The reader must also be able to decode the image data stored inside the container.
2.1 Understand HEIF and HEIC support expectations
SumatraPDF is primarily a lightweight document reader. Its ability to display an image depends on whether the relevant format and encoding can be decoded by the application or the Windows components available to it. Recognizing an extension does not guarantee that every possible HEIF profile, bit depth, metadata arrangement, or encoding variant will render.
There is no standard user-facing option in SumatraPDF named Enable HEIC or Enable HEIF. If a guide recommends changing an unrelated PDF rendering, eBook layout, or printer setting to activate HEIC, that advice does not address the actual decoding problem.
Success at this stage means a known-good HEIC file opens through SumatraPDF's own file-opening command. If that works, format decoding is available and you should not install additional codecs merely to fix double-click behavior.
2.2 Do not treat AVIF and HEIC as interchangeable
AVIF and HEIC can both use the broader ISO base media file structure, but they normally use different image codecs. HEIC commonly stores HEVC-encoded images, while AVIF uses the AV1 image format. An application or Windows installation can support one without supporting the other.
If the file has an .avif extension, troubleshoot it as AVIF rather than renaming it to .heic. Renaming does not transcode the image and may make format detection less reliable. Use an application that explicitly supports AVIF or convert the file with a trusted image tool.
2.3 Test from inside SumatraPDF before changing associations
Launch SumatraPDF first and open the HEIC file from within the program. This bypasses the Windows default-app association and answers a specific question: can SumatraPDF itself attempt to load the selected file?
If the image opens this way but double-clicking launches another application, shows an app-selection prompt, or produces a different error, repair the association:
- Open Windows Settings.
- Go to the default apps section.
- Search by the .heic and .heif file extensions.
- Select the application you want Windows to use for each extension.
- Double-click the image again to verify the result.
Changing the association only controls which application receives the file. It does not add a missing decoder to SumatraPDF. If opening from inside SumatraPDF already fails, changing the default app will not fix decoding.
3. Check Windows Codecs and the Source Image
Some HEIC files require Windows HEIF and HEVC components. This is especially relevant when the image uses HEVC compression and an application relies on operating-system decoding support. Codec availability can differ between computers, Windows installations, and user accounts.
3.1 Verify HEIC support in Windows Photos
Try the same image in the current Windows Photos application. If Photos displays a message requesting an extension, cannot generate a thumbnail, or fails to open multiple known-good HEIC images, Windows codec support is the first thing to address.
Microsoft distributes HEIF Image Extensions through the Microsoft Store. Some HEIC files also need Microsoft's HEVC Video Extensions because HEIF describes the container while HEVC may be the codec used for the image data.
Install only the required extensions from Microsoft or another source you explicitly trust. Avoid random codec packs from download sites. Broad codec packs may install shell extensions, filters, advertising software, or components unrelated to HEIC.
After installation, close and reopen SumatraPDF. If necessary, sign out of Windows or restart the computer so applications can detect the newly installed components. Retest the same known-good image in Windows Photos and then in SumatraPDF.
Success means Windows Photos can decode the file and SumatraPDF can display it after being restarted. Once both tests pass, stop installing codecs.
3.2 Distinguish container support from HEVC decoding
Installing the HEIF extension may allow Windows to recognize the container, read metadata, or produce thumbnails. It does not necessarily provide every decoder required by the image inside it. If Windows specifically requests an HEVC extension, follow the official prompt rather than repeatedly reinstalling the HEIF extension.
Conversely, do not assume that an HEVC component fixes AVIF. AVIF normally relies on AV1, so the correct decoder and application support are different.
3.3 Check the source, permissions, and file location
Copy the image to a simple local folder such as your Pictures folder and give it a short filename. Then open that copy. This test can expose problems involving an unavailable network share, a disconnected phone, a cloud placeholder that has not downloaded, or a folder your account cannot read.
Confirm that the file has a plausible nonzero size. If it came from cloud storage, mark it for offline availability or wait for the download to finish. If it came from an email attachment or browser download, save it again rather than opening a temporary preview copy.
If the local copy opens, SumatraPDF and the codec are functioning. The original location or transfer was the problem, so there is no reason to reset the application.
3.4 Know which external components are irrelevant
Ghostscript is not the normal solution for opening a standalone HEIC or HEIF image in SumatraPDF. It is associated primarily with PostScript and related conversion workflows. Likewise, changing a printer driver will not add HEIC decoding for on-screen viewing.
Only investigate a printer driver if the image displays correctly and the separate symptom is that printing fails. A rendering failure before the image appears should be handled as a format, codec, source-file, or application issue.
4. Inspect or Reset SumatraPDF-settings.txt Safely
SumatraPDF stores preferences in a text settings file. A damaged or unusual configuration can occasionally cause broader application behavior, but the file does not normally contain a switch that installs HEIC support. Reset it only after the targeted image and codec tests have failed.
4.1 Find the active settings file
The location depends on how SumatraPDF is being used. An installed copy commonly keeps per-user settings in the user's application data, while portable usage may keep SumatraPDF-settings.txt beside the executable if that location is writable.
Before editing anything, close every SumatraPDF window. Search for SumatraPDF-settings.txt and check its modified date to identify the file used by the active copy. If you have both installed and portable copies, they may not share the same settings.
4.2 Back up instead of deleting
Rename the active file to something such as SumatraPDF-settings.backup.txt. Then launch SumatraPDF, which can create a fresh configuration using defaults. Test a JPEG or PNG first, followed by the known-good HEIC file.
If HEIC now opens, the previous settings file or the way that instance was configured contributed to the problem. Keep the backup until you have restored only the preferences you need. Do not copy the entire old file over the new one immediately, because that may restore the failure.
If nothing changes, close SumatraPDF and restore the backup if you want your previous preferences. A failed reset is useful evidence: the problem is more likely to involve format support, codecs, the specific file, or the executable build.

5. Run a Clean Temporary Test
A clean test separates the program from its current installation, shortcuts, associations, and persistent settings. It is more informative than uninstalling and reinstalling the same configuration immediately.
5.1 Test a fresh official portable copy
Download a current copy only from the official SumatraPDF website. If a portable option is available, extract or place it in a new writable folder. Do not overwrite the existing installation, copy old settings into the folder, or launch it through an old shortcut.
Open the temporary executable directly and test, in order:
- A known-good JPEG or PNG image.
- A known-good HEIC image that Windows Photos can display.
- The original HEIC or HEIF file that failed.
If the first two work but the original does not, the original file is incompatible, damaged, or encoded differently. If JPEG works but no HEIC file works, focus on HEIF support and Windows codecs. If even JPEG fails, check security software, permissions, the download, and whether the executable can read the test folder.
5.2 Compare installed and portable behavior
If the portable copy works while the installed copy does not, the issue is likely tied to the installed instance, its settings, its shortcut, or how Windows registered it. At that point, reinstalling the official application or resetting the installed copy's settings is reasonable.
If both copies fail on the same HEIC images while Photos also fails, reinstalling SumatraPDF is unlikely to help. Resolve Windows codec support or replace the source image first.
5.3 Convert the image when that is the simpler answer
Conversion is often the most practical solution when you only need to read, print, archive, or insert a few HEIC images. Use Windows Photos, the image's source device, or a trusted offline image application to export the file as JPEG or PNG.
- Choose JPEG for ordinary photographs when smaller files are useful.
- Choose PNG when lossless output, text, diagrams, or transparency matters.
- Keep the original HEIC file if metadata, quality, or future editing is important.
For private images, an offline converter is preferable to uploading files to an unknown website. Conversion is successful when the exported JPEG or PNG opens normally and contains the complete expected image. Once that happens, further SumatraPDF troubleshooting may not be worth the time unless native HEIC opening is essential to your workflow.
6. Quick Fix Checklist
- Open a known-good JPEG or PNG in SumatraPDF to confirm basic image rendering.
- Test at least two HEIC files so one damaged file does not mislead you.
- Open the image through SumatraPDF itself to bypass Windows file associations.
- Test the same HEIC file in Windows Photos.
- Install official Microsoft HEIF support if Windows says it is missing.
- Install official HEVC support if the file's encoding requires it.
- Restart SumatraPDF after adding codecs or extensions.
- Do not rename AVIF files to HEIC because the formats use different codecs.
- Copy cloud, phone, email, or network files to a local folder before testing.
- Back up SumatraPDF-settings.txt before creating a clean configuration.
- Compare a fresh official portable copy with the installed application.
- Convert the image to JPEG or PNG when native HEIC support is unnecessary.
7. Frequently Asked Questions
7.1 Does SumatraPDF have a setting that enables HEIC?
There is no ordinary user setting dedicated to enabling HEIC or HEIF decoding. If common images work but HEIC files do not, investigate the exact file format, Windows HEIF and HEVC components, and the capabilities of the SumatraPDF copy you are testing.
7.2 Why does HEIC open in Photos but not SumatraPDF?
Windows Photos and SumatraPDF do not necessarily use identical decoding paths or support the same file variants. Opening in Photos proves the file is readable by that application, but it does not guarantee that every other reader supports its container, codec, profile, or metadata layout. Use a current official SumatraPDF copy, then convert the image if the format still is not accepted.
7.3 Why does the file open from SumatraPDF but not when I double-click it?
That pattern points to a Windows file association problem. Set the preferred default application for both .heic and .heif in Windows Settings. Associations determine which program launches; they do not determine whether the image can be decoded.
7.4 Will installing the HEIF Image Extensions always fix HEIC files?
No. The extension may provide container support, while some files also require HEVC decoding. In addition, an application may not use the relevant Windows component, and a particular file may be damaged or use an unsupported variant. Test in Windows Photos and follow any official Windows prompt about an additional HEVC extension.
7.5 Is AVIF the same as HEIC?
No. Although both formats use related container technology, AVIF normally uses AV1 image coding and HEIC commonly uses HEVC. Support for one does not prove support for the other, and changing the extension does not convert between them.
7.6 When should I stop troubleshooting and convert the file?
Convert when the file opens in another trusted application, you only have a small number of images, and native HEIC viewing is not essential. JPEG and PNG are more broadly compatible. Stop changing SumatraPDF settings once the converted image opens correctly, because that confirms the practical workaround is complete.