-
Notifications
You must be signed in to change notification settings - Fork 42
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
Function to serialize compressed image to buffer #139
Conversation
Signed-off-by: Michael Carroll <[email protected]>
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.
Mind adding a quick test to check the buffer's contents?
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.
just minor comment on style otherwise looks good to me
Signed-off-by: Nate Koenig <[email protected]>
Codecov Report
@@ Coverage Diff @@
## ign-common3 #139 +/- ##
===============================================
- Coverage 75.24% 75.16% -0.08%
===============================================
Files 72 72
Lines 10227 10237 +10
===============================================
Hits 7695 7695
- Misses 2532 2542 +10
Continue to review full report at Codecov.
|
windows build caught a compile error:
|
Signed-off-by: Nate Koenig <[email protected]>
@mjcarroll and @iche033 , CI is now green. |
@chapulina there isn't an easy way to test this without implementing the inverse (png buffer to image). Since this is needed by subt, can we land it and I'll add that test in a followup? |
Sure sounds good. I was thinking of a simpler test, maybe just checking the size of the buffer. To make sure that the function is exercised in the tests. But don't block on this. |
Signed-off-by: Michael Carroll [email protected]