References for: step
Full identifier: http://purl.org/np/RAc0xXxK4pAoROZNwYHNGTaf1VftwmXzfZZEQNuj06ruc#step
Nanopublication | Part | Subject | Predicate | Object | Published By | Published On |
---|---|---|---|---|---|---|
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
step
|
(unknown)
|
2021-06-05T11:45:47.721Z
|
|||
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
step
|
(unknown)
|
2021-06-05T11:45:47.721Z
|
|||
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
step
|
Add an awesome Watermark to your image (licence:cc0,author:rsiebes, date:06-05-2021 )
|
(unknown)
|
2021-06-05T11:45:47.721Z
|
||
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
step
|
@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
|
(unknown)
|
2021-06-05T11:45:47.721Z
|
||
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
step
|
(unknown)
|
2021-06-05T11:45:47.721Z
|
|||
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
step
|
(unknown)
|
2021-06-05T11:45:47.721Z
|
|||
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
step
|
(unknown)
|
2021-06-05T11:45:47.721Z
|
|||
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
step
|
(unknown)
|
2021-06-05T11:45:47.721Z
|
|||
links a nanopublication to its pubinfo
http://www.nanopub.org/nschema#hasPublicationInfo
pubinfo
|
step
|
(unknown)
|
2021-06-05T11:45:47.721Z
|