RA7lgwUbNk
Full identifier: http://purl.org/np/RA7lgwUbNk5EvtfE9Tbtg1oyahG8RKdOZ00NtQmEeWM7E
Nanopublication
Put here a name of your awesome step (include the word awesome so others will find it)
ScriptTask
Step
This is a local identifier minted within the nanopublication.
http://purl.org/np/RA7lgwUbNk...#step
http://purl.org/dc/terms/description
(this is a literal)
"@is_fairstep(label='Put here a name of your awesome step (include the word awesome so others will find it)')
# Give it your own name:
def xiao_func1(image:float) -> float:
from PIL import Image, ImageDraw, ImageFont
chars = "wow, what a beautiful image!"
width, height = image.size
chars_x, chars_y = int(width/8), int(height/3)
ttf = ImageFont.load_default()
img_draw = ImageDraw.Draw(image)
img_draw.text((chars_x, chars_y), chars, font=ttf, fill=(255,0,0))
image.show()
return img_draw
"
.
0000-0000-0000-0000,
14 Jun 2021, 15:43:25 UTC
References