You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 8, 2021. It is now read-only.
The current implementation always writes the alpha channel, no matter whether the alpha channel is enabled. When the alpha channel is disabled, the data will "leak" into adjacent pixels, and also cause an out-of-range error on the last pixel.
Simply don't write alpha when n_channels == 3 should solve the problem. #60
The text was updated successfully, but these errors were encountered:
The current implementation always writes the alpha channel, no matter whether the alpha channel is enabled. When the alpha channel is disabled, the data will "leak" into adjacent pixels, and also cause an out-of-range error on the last pixel.
Simply don't write alpha when
n_channels == 3
should solve the problem. #60The text was updated successfully, but these errors were encountered: