File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -1985,10 +1985,10 @@ static protected PImage parseBase64Image(String imagePath) {
19851985 String extension = parts [0 ].substring (11 );
19861986 String encodedData = parts [1 ];
19871987
1988+ // Fix for https://github.com/processing/processing4/issues/592
19881989 // If a SVG image has an error, the base 64 will fail, but the browser will work.
1989- // So we are sanitizing the values before reading it.
1990- // If you have any questions, please, read this
1991- // reference: https://www.prostdev.com/post/understanding-the-illegal-base64-character-error-java-groovy-and-mule-4-dw-2-0
1990+ // So we are sanitizing the values before reading it:
1991+ // https://www.prostdev.com/post/understanding-the-illegal-base64-character-error-java-groovy-and-mule-4-dw-2-0
19921992 Base64 .Decoder decoder ;
19931993 if (encodedData .contains ("+" ) || encodedData .contains ("/" )) {
19941994 decoder = Base64 .getDecoder ();
Original file line number Diff line number Diff line change @@ -11,18 +11,16 @@ X maybe https://github.com/processing/processing4/issues/487
1111contribs
1212X P3D & P2D window not showing on MacOS Ventura (thx @jaegonlee)
1313X https://github.com/processing/processing4/issues/544
14+ X Loading SVG file gives Illegal base64 character 20 encoding error (worked in v3.5.4)
15+ X https://github.com/processing/processing4/issues/592
16+ X https://github.com/processing/processing4/pull/599
1417
1518data
1619X use choice() instead of random() for list classes
1720X remove random(PApplet) since unlikely to be used/seems overkill
1821X add choice() as a PApplet method for int values of random()
1922
2023
21- contrib
22- _ Loading SVG file gives Illegal base64 character 20 encoding error (worked in v3.5.4)
23- _ https://github.com/processing/processing4/issues/592
24- _ https://github.com/processing/processing4/issues/592
25-
2624_ freeze on resize with Windows (even the default renderer)
2725_ https://github.com/processing/processing4/issues/507
2826
You can’t perform that action at this time.
0 commit comments