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

JPEG2000 support #13

Closed
kaspergrubbe opened this issue Aug 1, 2020 · 2 comments
Closed

JPEG2000 support #13

kaspergrubbe opened this issue Aug 1, 2020 · 2 comments

Comments

@kaspergrubbe
Copy link

Hi, it seems like JPEG2000 isn't supported:

ImageSize.path("test-image.jp2").size
=> nil
@toy
Copy link
Owner

toy commented Aug 8, 2020

Please have a look: https://github.com/toy/image_size/compare/j2k

@kaspergrubbe
Copy link
Author

Hi @toy , I hope you're well! Thanks for looking at this issue, I had a look at your branch, and it works for me with my test image:

i = ImageSize.path('test-image.jp2')
i.size
# => [500, 500]

Thanks a lot! 🍻

@toy toy closed this as completed in 04679d1 Aug 9, 2020
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

No branches or pull requests

2 participants