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
It happens in PGraphicsJava2D on the last line shown here:
// BACKGROUNDint[] clearPixels;
protectedvoidclearPixels(intcolor) {
// On a hi-res display, image may be larger than width/heightintimageWidth = image.getWidth(null);
In some way, it might not be a bug but a mistake by the user for exceeding the range, but yet I feel like it might be a bug as well...
The text was updated successfully, but these errors were encountered:
benfry
changed the title
pdf, NullPointerException when background exceeds it's color rangeNullPointerException when background exceeds color range when writing PDF
Jul 16, 2023
Processing 4.2
OSX 10.15.7
When using a background value highter then the color range when recording a pdf, a NullPointerException is thrown:
It happens in PGraphicsJava2D on the last line shown here:
In some way, it might not be a bug but a mistake by the user for exceeding the range, but yet I feel like it might be a bug as well...
The text was updated successfully, but these errors were encountered: