May 1, 2019
8:40 a.m.
Am 29.04.2019 um 13:23 schrieb Sven Van Caekenberghe:
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
Picsum is listed here <https://github.com/toddmotto/public-apis> along with a number of other public APIs. Maybe this overview list is interesting for one or the other. Franz Josef