Matches in Nanopublications for { ?s ?p ?o <http://purl.org/np/RAj8RsCpDuSiA34oHKhetYaN3ZyV8V9xBOSeUCtG-nEgY#assertion>. }
Showing items 1 to 17 of
17
with 100 items per page.
- out1 type Variable assertion.
- step type ScriptTask assertion.
- step type Step assertion.
- image type Variable assertion.
- LinguisticSystem type ComputerLanguage assertion.
- out1 label "out1" assertion.
- step label "Step to add text (awesome world!) into an image" assertion.
- image label "image" assertion.
- LinguisticSystem label "python" assertion.
- out1 comment "None" assertion.
- image comment "None" assertion.
- LinguisticSystem versionInfo "3.8.3.final.0" assertion.
- LinguisticSystem seeAlso Q28865 assertion.
- step description "@is_fairstep(label='Step to add text (awesome world!) into an image') # Give it your own name: def add_text_into_image(image): from PIL import ImageDraw from PIL import Image ImageDraw.Draw( image).text( (0, image.height/2), # Coordinates 'Awesome world!', # Text (255, 255, 255) # Color ) return image " assertion.
- step language LinguisticSystem assertion.
- step hasInputVar image assertion.
- step hasOutputVar out1 assertion.