File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
b2sbackglassdesigner/b2sbackglassdesigner/Modules Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -339,7 +339,7 @@ Module moduleB2S
339339 If image IsNot Nothing Then
340340 With New System.Drawing.ImageConverter
341341 Dim bytes() As Byte = CType (.ConvertTo(image, GetType ( Byte ())), Byte ())
342- Return Convert.ToBase64String(bytes, Base64FormattingOptions.InsertLineBreaks )
342+ Return Convert.ToBase64String(bytes, Base64FormattingOptions.None )
343343 End With
344344 Else
345345 Return String .Empty
@@ -365,7 +365,7 @@ Module moduleB2S
365365 Using reader As IO.BinaryReader = New IO.BinaryReader(stream)
366366 Dim length As Integer = reader.Read(bytes, 0 , stream.Length)
367367 End Using
368- Return Convert.ToBase64String(bytes, Base64FormattingOptions.InsertLineBreaks )
368+ Return Convert.ToBase64String(bytes, Base64FormattingOptions.None )
369369 Else
370370 Return String .Empty
371371 End If
You can’t perform that action at this time.
0 commit comments