Perfect, I should have looked at the list of available images ... great catch.

> On 29 Apr 2019, at 18:42, Offray Vladimir Luna Cárdenas 
> <offray.l...@mutabit.com> wrote:
> 
> Pretty cool!
> 
> This is how you get a Pharo image working, with pun intended ;-):
> 
> http://ws.stfx.eu/7WN9SG9YBB6E
> 
> <hopdbmfikdhjmimg.png>
> 
> 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
>> 
>> 
>> 
>> 


Reply via email to