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 }}
Repository navigation
-I of image does not invert the colors of a 1-bit image #8795
changed the title [-]-I of image does not invert the colors of a 1-bit image[/-][+]`-I` of `image` does not invert the colors of a 1-bit image[/+]on Sep 15, 2025
The bug appears to be that the 1-bit image is being converted to a 24-bit depth image which then causes '-I' to be ignored. The issue also appears to have something to do with perhaps a colormap in the png file that causes the single bits to be translated into RGB values.
Activity
[-]-I of image does not invert the colors of a 1-bit image[/-][+]`-I` of `image` does not invert the colors of a 1-bit image[/+]ES-Solar commentedon Nov 20, 2025
The bug appears to be that the 1-bit image is being converted to a 24-bit depth image which then causes '-I' to be ignored. The issue also appears to have something to do with perhaps a colormap in the png file that causes the single bits to be translated into RGB values.
Fix -I invert option for 2-color palette images (GenericMappingTools#…
Fix -I invert option for 2-color palette images (GenericMappingTools#…
Fix -I invert option for 2-color palette images (GenericMappingTools#…
Add test for -I invert option on 2-color iages (GenericMappingTools#8795
Fix GenericMappingTools#8795 gmt image -I inversion (GenericMappingTo…