The Inbox: Graphics-ct.440.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Inbox: Graphics-ct.440.mcz

commits-2
A new version of Graphics was added to project The Inbox:
http://source.squeak.org/inbox/Graphics-ct.440.mcz

==================== Summary ====================

Name: Graphics-ct.440
Author: ct
Time: 17 September 2020, 6:06:52.462813 pm
UUID: 1d3c2261-5196-cb41-abf7-beccef7625b4
Ancestors: Graphics-tonyg.438

Proposal: Include convenience method to create a Form from a base64 string into Trunk. Method by Maximilian Stiede (ms), [1]. Fore more information about base64-encoding in Squeak, see also [2].

[1] https://github.com/ShirleyNekoDev/Squeak-ToolIconsPlus/blob/master/ToolIconsPlus.package/Form.extension/class/fromBase64..st
[2] https://wiki.squeak.org/squeak/3992

=============== Diff against Graphics-tonyg.438 ===============

Item was added:
+ ----- Method: Form class>>fromBase64: (in category 'instance creation') -----
+ fromBase64: aString
+
+ ^ self fromBinaryStream: (Base64MimeConverter mimeDecodeToBytes: aString readStream)!