References for: step
Full identifier: http://purl.org/np/RAhghoIHQGX-nL_T1yRZ1kp4dZwAblXLiGSpHlr_I9yoU#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-14T14:54:12.608Z
|
|||
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
step
|
(unknown)
|
2021-06-14T14:54:09.605Z
|
|||
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
step
|
(unknown)
|
2021-06-14T14:54:09.605Z
|
|||
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
step
|
(unknown)
|
2021-06-14T14:54:06.640Z
|
|||
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
step
|
(unknown)
|
2021-06-14T14:54:06.640Z
|
|||
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
step
|
Make white background of image transparent
|
(unknown)
|
2021-06-14T14:54:06.640Z
|
||
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
step
|
@is_fairstep(label='Make white background of image transparent')
def white_to_transparency(img):
from PIL import Image
img = img.convert("RGBA")
data = img.getdata()
new_data = []
for item in data:
if item[0] == 255 and item[1] == 255 and item[2] == 255:
new_data.append((255, 255, 255, 0))
else:
new_data.append(item)
img.putdata(new_data)
return img
|
(unknown)
|
2021-06-14T14:54:06.640Z
|
||
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
step
|
(unknown)
|
2021-06-14T14:54:06.640Z
|
|||
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
step
|
(unknown)
|
2021-06-14T14:54:06.640Z
|
|||
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
step
|
(unknown)
|
2021-06-14T14:54:06.640Z
|
|||
links a nanopublication to its pubinfo
http://www.nanopub.org/nschema#hasPublicationInfo
pubinfo
|
step
|
(unknown)
|
2021-06-14T14:54:06.640Z
|