-
Notifications
You must be signed in to change notification settings - Fork 12
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
Argb support fix #9
Conversation
Codecov Report
@@ Coverage Diff @@
## master #9 +/- ##
=========================================
+ Coverage 64.84% 66.4% +1.56%
=========================================
Files 4 4
Lines 256 256
=========================================
+ Hits 166 170 +4
+ Misses 90 86 -4
Continue to review full report at Codecov.
|
I tried to figure out the resolver error but I'm failing. |
Thanks for the lighting fix! A new ColorVectorSpace release with compat fix is needed, see also JuliaGraphics/ColorVectorSpace.jl#122 and JuliaImages/ImageCore.jl#124 It succeeded in nightly because of a Pkg issue, possibly related to JuliaLang/Pkg.jl#1720 This is only a test stage issue, and if it's tested locally with a customed version of ColorVectorSpace, I think it's okay to not wait for a new version of |
BTW, PNGFiles.jl uses a primitive Of course, it is intuitive that PNGFiles.jl depends on ImageCore.jl. However, we faced the dependency issue, so I think the low-level processing looks reasonable. Edit: |
1521299
to
465cd86
Compare
I removed the Images dep during test by absorbing absmaxfinite in #10 and rebased this |
Fixes #8
In the case of
BGR
,ARGB
,BGRA
andABGR
represented with floating points we were handling the struct pixel layout twice -- once with libng by callingpng_set_brg
andpng_set_swap_alpha
and by converting the data layout toRGBA
in_prepare_buffer
-- these two operations sort of cancelled each other out. The fix implemented here is not to do the conversions.cc: @johnnychen94