Skip to content

Conversation

@ColdPie1
Copy link

See issue #20 .

Apple phones often include several images in one file using the Multi-Picture Format standard. This is implemented via a MPF0 object within an APP2 section. Pel should search for the ICC section instead of returning the first APP2 section.

Apple phones often include several images in one file using the
Multi-Picture Format standard. This is implemented via a MPF0 object
within an APP2 section. Pel should search for the ICC section instead of
returning the first APP2 section.
@ColdPie1
Copy link
Author

Worth a note that this adds a call to str_starts_with, which was introduced in php8. If you want to support older versions, we'll need to change that.

@mondrake
Copy link

mondrake commented Apr 9, 2024

Thank you, can you add an automated test for this, including a test image?

@ColdPie1
Copy link
Author

I put a test image on issue #20 . I can try to write a test some time, but I'm not familiar with the test framework.

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.

2 participants