-
Notifications
You must be signed in to change notification settings - Fork 14
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
add support for extra channels #159
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #159 +/- ##
==========================================
- Coverage 92.68% 92.36% -0.33%
==========================================
Files 13 14 +1
Lines 1121 1152 +31
==========================================
+ Hits 1039 1064 +25
- Misses 82 88 +6 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks fantastic! Just a couple smaller points.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is basically ready to merge, I think only the test for #56 is missing.
This is just a comment and does not block the merge, but |
What kind of a note? Julia already warns when two packages export the same symbol
|
It is not what it is, but where it is that matters.
|
Sorry for the delay here, I was on vacation. I'm happy with the state of this PR (thanks @chrstphrbrns for your hard work here!). I'm going to release #165 as |
@tlnagy any update regarding this amazing PR by @chrstphrbrns ? |
Sorry, I've been swamped at my new job and haven't had much time for my Julia packages. I just released |
b21818c
to
903fabd
Compare
The segmentation fault with Julia nightly on MacOS + Arm64 is concerning. @chrstphrbrns any idea why SIMD might be failing there? |
@tlnagy is the failure on Julia nightly blocking? We are really looking forward to this. |
@tlnagy, reading the error stack trace, we can see that the error is coming from the SIMD.jl package: Reading the TiffImages.jl code, I noticed that the The SIMD.jl package uses internal Julia APIs, which may change between versions. This is why we may notice that SIMD.jl tests break in Julia nightly: So I think we can conclude that the errors in the tests are related to the SIMD.jl package, not the PR. Do you agree? Maybe tests should only be run on stable Julia versions? |
And about the test that is breaking on Ubuntu with Julia 1.11, I ran the PR tests locally on my machine with Fedora and Julia 1.11.1 and the tests passed normally: Version info:
|
This a good point. I was mostly concerned about it failing on M series chips, but yeah it should only be blocking on stable Julia. |
Huge thanks for @chrstphrbrns for all the work getting this done and @juliohm for consistently advocating for it. Excited to have this in |
Thank you @tlnagy for making it happen! Do you have a date for the new v0.11 release? We are looking forward to it. |
Fixes #100
Exports three new functions
color
-- extract the color component of an image, egnchannels
-- get the total number of channels from an image (color channels + extra channels)channel
-- get the values from a specific channel (with the first N channels being color channels), eg