Skip to content

feat: support for AVIF images#10023

Closed
JulianAtkins wants to merge 6 commits intocodeigniter4:4.8from
JulianAtkins:avif-support
Closed

feat: support for AVIF images#10023
JulianAtkins wants to merge 6 commits intocodeigniter4:4.8from
JulianAtkins:avif-support

Conversation

@JulianAtkins
Copy link
Contributor

@JulianAtkins JulianAtkins commented Mar 6, 2026

Description
I added support for the AVIF image files. AVIF was implemented in PHP 8.1 which suitable now that codeigniter requires PHP 8.2. AVIF became a globally supported format around 2024, available across all major browsers (chrome, edge, safari, firefox, opera).

The only interesting thing in the code, is that the save() function has one additional parameter for the speed (-1 by default as is the PHP default as well).

Checklist:

  • Securely signed commits
  • Component(s) with PHPDoc blocks, only if necessary or adds value (without duplication)
  • Unit testing, with >80% coverage
  • User guide updated
  • Conforms to style guide

michalsn and others added 5 commits March 3, 2026 19:29
…od (codeigniter4#10019)

* docs: add none parameter example to the query builder like method

* align code comment
…#10016)

* refactor: fix phpstan no type specified UpdateModelTest

* use native php type

* use DateTimeInterface type
…igniter4#10020)

* fix: Fixed CreateNewChangelogTest

* fix: Update warning in test
@michalsn
Copy link
Member

michalsn commented Mar 6, 2026

@JulianAtkins JulianAtkins changed the base branch from develop to 4.8 March 6, 2026 07:36
@JulianAtkins
Copy link
Contributor Author

Sorry about that, I did not know about the 4.8 branch, I've changed it now.

I'm looking at the signed commits thing, but it looks very time consuming. Last year I created a pull request for the codeigniter settings project and they also required signed commits, but it just wasn't worth the effort to be honest.

@JulianAtkins
Copy link
Contributor Author

I'll close this pull request and re-do it with signed commits under the 4.8 branch.

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.

4 participants