Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix Pixbuf::put_pixel when alpha channel disabled #60
referenced this pull request
Jan 29, 2018
Makes sense but will still explode on e.g. grayscale pictures, or not? Those should only have a single channel.
Also accessing the pixel data with that function is super inefficient :) Ideally there would be a way to get a
@sdroege The original documentation (https://developer.gnome.org/gdk-pixbuf/stable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf--n-channels) says:
So there's no need to worry about grayscale pictures.