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
If png2src encounters an error, it does not report it via its return value:
$ w4 png2src --zig lib/test/data/smile_8x8_5colors.png
Error processing lib/test/data/smile_8x8_5colors.png:
Too many colors: maximum is 4. The previous colors were:
- (R: 0, G: 0, B: 0, A: 255); first seen at (0, 0)
- (R: 255, G: 255, B: 255, A: 255); first seen at (2, 0)
- (R: 0, G: 255, B: 0, A: 255); first seen at (2, 2)
- (R: 255, G: 0, B: 0, A: 255); first seen at (2, 5)
The first occurrence of another color is at (3, 6) and has the value of (R: 0, G: 0, B: 255, A: 255)
Expected behavior:
$ echo$?
1
Actual behavior:
$ echo$?
0
The text was updated successfully, but these errors were encountered:
If png2src encounters an error, it does not report it via its return value:
Expected behavior:
Actual behavior:
The text was updated successfully, but these errors were encountered: