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

Remove image magick from jpg conversion code #43

Merged
merged 1 commit into from
Nov 16, 2023

Conversation

jrdh
Copy link
Member

@jrdh jrdh commented Nov 16, 2023

Found a tiff which when converted just causes a seg fault from Image Magick due to an assertion error. Not sure why this happens so let's just remove Image Magick from the convert function and in turn just remove it completely from the project as this was the only place it was being used. Shame as it was faster than pillow, hence why it was there, but you can't catch a seg fault and without knowing why the image is causing this problem, this is the best option right now.

The tiff I found to recreate this is this original image.

Closes #41

Found a tiff which when converted just causes a seg fault from Image Magick due to an assertion error. Not sure why this happens so let's just remove Image Magick from the convert function and in turn just remove it completely from the project as this was the only place it was being used.
Shame as it was faster than pillow, hence why it was there, but you can't catch a seg fault and without knowing why the image is causing this problem, this is the best option right now.

Closes #41
@jrdh jrdh self-assigned this Nov 16, 2023
@jrdh jrdh changed the title fix: remove image magick from jpg conversion code Remove image magick from jpg conversion code Nov 16, 2023
@jrdh jrdh merged commit 0a3b7f7 into dev Nov 16, 2023
1 of 3 checks passed
@jrdh jrdh deleted the josh/fix_image_magick_seg_fault branch November 16, 2023 00:03
@jrdh jrdh mentioned this pull request Nov 16, 2023
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.

1 participant