Matches in Nanopublications for { ?s ?p ?o <http://purl.org/np/RAXl7zRdHHahQFz1QLAbI4z0Yvmq0ptC7dMgKOgK160Ss#assertion>. }
Showing items 1 to 21 of
21
with 100 items per page.
- step type Step assertion.
- step type ScriptTask assertion.
- text type Variable assertion.
- out1 type Variable assertion.
- image type Variable assertion.
- LinguisticSystem type ComputerLanguage assertion.
- step label "Add an awesome Watermark to your image (licence:cc0,author:rsiebes, date:06-05-2021 )" assertion.
- text label "text" assertion.
- out1 label "out1" assertion.
- image label "image" assertion.
- LinguisticSystem label "python" assertion.
- text comment "None" assertion.
- out1 comment "None" assertion.
- image comment "None" assertion.
- LinguisticSystem versionInfo "3.7.9.final.0" assertion.
- LinguisticSystem seeAlso Q28865 assertion.
- step description "@is_fairstep(label='Add an awesome Watermark to your image (licence:cc0,author:rsiebes, date:06-05-2021 )') # Give it your own name: def my_watermark_step(image, text): from PIL import ImageFont from PIL import ImageDraw from PIL import Image watermark_image = image.copy() draw = ImageDraw.Draw(watermark_image) # add watermark draw.text((0, 0), text, (0, 0, 0)) # add watermark draw.text((0, 0), text, (255, 255, 255)) # new_image = .... return watermark_image " assertion.
- step hasInputVar text assertion.
- step hasInputVar image assertion.
- step language LinguisticSystem assertion.
- step hasOutputVar out1 assertion.