Skip to content

Conversation

@stogle
Copy link

@stogle stogle commented Jan 29, 2026

Fixes #256.

Some JPEG files don't include any app headers at all (sometimes called "raw" JPEGs - not to be confused with RAW files). In my case, JPEGs captured by FlashCap sometimes didn't have them.

This PR makes app headers optional so that PDFsharp can successfully import them.

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.

Some valid JPEG files may not be loaded using XImage.FromFile()

1 participant