April 29, 2019
4:42 p.m.
Pretty cool! This is how you get a Pharo image working, with pun intended ;-): http://ws.stfx.eu/7WN9SG9YBB6E Cheers, Offray On 29/04/19 6:23 a. m., Sven Van Caekenberghe wrote:
Hi,
This is a cool service: https://picsum.photos - it gives you example images (pictures/photos).
Here is how you can use this from a standard Pharo image (no pun intended).
ZnEasy getJpeg: 'https://picsum.photos/512'.
ImageReadWriter formFromStream: (ZnClient new systemPolicy; url: 'https://picsum.photos/640/480?grayscale'; accept: ZnMimeType imagePng; get) readStream.
Sven