Open evenbrenden opened 1 year ago
Seeing the same thing, unfortunately this seems to be an imlib2 issue...
imlib_image_fill_color_range_rectangle(1000, 1000, 4096, 1000, 0);
renders a perfectly valid gradient, but
imlib_image_fill_color_range_rectangle(1000, 1000, 4097, 1000, 0);
renders only one color.
So, if any dimension is larger than 4096 it won't work :(.
Trying to figure out if this is something fixed in newer imlib, or if we need to split this into smaller gradients.
Running
on a 5120x2160 monitor yields an image of a solid red:
It appears that for a sufficiently large resolution, gradient commands produce a solid of the first color added.