Closed mee-ironsoftware closed 1 year ago
Is alpha 0 means that the pixel is transparent? Maybe in the unit test, check also a couple of pixels that don't have 0?
Just to be safe.
Is alpha 0 means that the pixel is transparent? Maybe in the unit test, check also a couple of pixels that don't have 0?
@artem-iron Thanks, good point. 💪 I modified test to check various values from result.
Description
Implement
ExtractAlphaData()
which will return array of alpha channel in byte. This function supported only image which in 32 bpp format.Also add tag NuGet version to deployment pipeline when run successfully.
Fixes #IRON-1233
Type of change
Please select the relevant option by placing an 'x' inside the brackets, like this: [x].
How Has This Been Tested?
Add 2 tests which are return correct result and throw exception.
Checklist:
Please run through the checklist as much as possible and mark the items completed by placing an 'x' inside the brackets, like this: [x].