Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix getimagesize #3507

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

fix getimagesize #3507

wants to merge 2 commits into from

Conversation

kurniagungk
Copy link

No description provided.

@bsweeney
Copy link
Member

What are you trying to fix with this change?

@kurniagungk
Copy link
Author

What are you trying to fix with this change?

what I fixed was getimagesize(): Corrupt JPEG data: foreign bytes before marker

@bsweeney
Copy link
Member

bsweeney commented Aug 31, 2024

Can you share an image that reproduces the issue? And what version of PHP?

@kurniagungk
Copy link
Author

image
php 8.3.0 windows 11

@bsweeney
Copy link
Member

bsweeney commented Sep 1, 2024

And do you have a sample image that triggers the error?

lib/Cpdf.php Show resolved Hide resolved
Co-authored-by: Brian Sweeney <brian@eclecticgeek.com>
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