Skip to content

fix: change from heic2any to heic-to#45

Open
Arukuen wants to merge 1 commit intodevelopfrom
fix/42-heic-to
Open

fix: change from heic2any to heic-to#45
Arukuen wants to merge 1 commit intodevelopfrom
fix/42-heic-to

Conversation

@Arukuen
Copy link
Copy Markdown
Contributor

@Arukuen Arukuen commented Apr 14, 2026

fixes #42

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 14, 2026

Warning

Rate limit exceeded

@Arukuen has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 31 minutes and 24 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 31 minutes and 24 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 9b72b254-6377-416a-86c8-9153cfb3e02e

📥 Commits

Reviewing files that changed from the base of the PR and between 9cae3df and 36ee9dc.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (1)
  • package.json
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/42-heic-to

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

github-actions Bot added a commit that referenced this pull request Apr 14, 2026
@github-actions
Copy link
Copy Markdown

🤖 Pull request artifacts

file commit
pr45-cimo-45-merge.zip 36ee9dc

@bfintal
Copy link
Copy Markdown
Contributor

bfintal commented Apr 16, 2026

@Arukuen I tried an .heic image and the colors became saturated and non-quality related artifacts appeared

@Arukuen
Copy link
Copy Markdown
Contributor Author

Arukuen commented Apr 17, 2026

@bfintal

I have tried converting the provided HEIC files using heic-to (also tried the demo page) and also got the corrupted result with colored artifacts (tried different jpg/png with different quality).

For comparison, I also tested heic-convert and got the same result — the output still contains the same artifacts.

I also uploaded the same HEIC files to multiple online HEIC converters, and the resulting images still showed similar artifacts. Here are the results:

heic-to library:
IMG_0964 (1)

heic-convert library:
IMG_0964-1

iloveimg:
IMG_0964 (2)

https://heictojpg.com/: HEIC file not supported

cloudconvert:
IMG_0964 (3)

freeconvert:
IMG_0964 (4)

It seems like the issue may be related to the source HEIC files themselves (likely newer iPhone encoding / HEIC variants).

One safe option is to stick with the current heic2any, change/remove the logged error, and let WordPress handle the conversion (in the server-side using WP_Image_Editor_Imagick with libheif) for newer/unsupported HEIC files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

heic2any library does not support conversion for newer IOS model

2 participants