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) {
1985
1985
String extension = parts [0 ].substring (11 );
1986
1986
String encodedData = parts [1 ];
1987
1987
1988
+ // Fix for https://github.com/processing/processing4/issues/592
1988
1989
// 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
1992
1992
Base64 .Decoder decoder ;
1993
1993
if (encodedData .contains ("+" ) || encodedData .contains ("/" )) {
1994
1994
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
11
11
contribs
12
12
X P3D & P2D window not showing on MacOS Ventura (thx @jaegonlee)
13
13
X 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
14
17
15
18
data
16
19
X use choice() instead of random() for list classes
17
20
X remove random(PApplet) since unlikely to be used/seems overkill
18
21
X add choice() as a PApplet method for int values of random()
19
22
20
23
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
-
26
24
_ freeze on resize with Windows (even the default renderer)
27
25
_ https://github.com/processing/processing4/issues/507
28
26
You can’t perform that action at this time.
0 commit comments