http://purl.org/np/RAps507GwfbJmuWcXYsLJf4Xw7fOOD9tWfPrEobOtyxDg#Head
http://purl.org/np/RAps507GwfbJmuWcXYsLJf4Xw7fOOD9tWfPrEobOtyxDg
http://www.nanopub.org/nschema#hasAssertion
http://purl.org/np/RAps507GwfbJmuWcXYsLJf4Xw7fOOD9tWfPrEobOtyxDg#assertion
http://purl.org/np/RAps507GwfbJmuWcXYsLJf4Xw7fOOD9tWfPrEobOtyxDg
http://www.nanopub.org/nschema#hasProvenance
http://purl.org/np/RAps507GwfbJmuWcXYsLJf4Xw7fOOD9tWfPrEobOtyxDg#provenance
http://purl.org/np/RAps507GwfbJmuWcXYsLJf4Xw7fOOD9tWfPrEobOtyxDg
http://www.nanopub.org/nschema#hasPublicationInfo
http://purl.org/np/RAps507GwfbJmuWcXYsLJf4Xw7fOOD9tWfPrEobOtyxDg#pubInfo
http://purl.org/np/RAps507GwfbJmuWcXYsLJf4Xw7fOOD9tWfPrEobOtyxDg
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://www.nanopub.org/nschema#Nanopublication
http://purl.org/np/RAps507GwfbJmuWcXYsLJf4Xw7fOOD9tWfPrEobOtyxDg#assertion
http://purl.org/np/RAps507GwfbJmuWcXYsLJf4Xw7fOOD9tWfPrEobOtyxDg#LinguisticSystem
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
https://schema.org/ComputerLanguage
http://purl.org/np/RAps507GwfbJmuWcXYsLJf4Xw7fOOD9tWfPrEobOtyxDg#LinguisticSystem
http://www.w3.org/2000/01/rdf-schema#label
python
http://purl.org/np/RAps507GwfbJmuWcXYsLJf4Xw7fOOD9tWfPrEobOtyxDg#LinguisticSystem
http://www.w3.org/2000/01/rdf-schema#seeAlso
https://www.wikidata.org/wiki/Q28865
http://purl.org/np/RAps507GwfbJmuWcXYsLJf4Xw7fOOD9tWfPrEobOtyxDg#LinguisticSystem
http://www.w3.org/2002/07/owl#versionInfo
3.7.9.final.0
http://purl.org/np/RAps507GwfbJmuWcXYsLJf4Xw7fOOD9tWfPrEobOtyxDg#img
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://purl.org/net/p-plan#Variable
http://purl.org/np/RAps507GwfbJmuWcXYsLJf4Xw7fOOD9tWfPrEobOtyxDg#img
http://www.w3.org/2000/01/rdf-schema#comment
None
http://purl.org/np/RAps507GwfbJmuWcXYsLJf4Xw7fOOD9tWfPrEobOtyxDg#img
http://www.w3.org/2000/01/rdf-schema#label
img
http://purl.org/np/RAps507GwfbJmuWcXYsLJf4Xw7fOOD9tWfPrEobOtyxDg#out1
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://purl.org/net/p-plan#Variable
http://purl.org/np/RAps507GwfbJmuWcXYsLJf4Xw7fOOD9tWfPrEobOtyxDg#out1
http://www.w3.org/2000/01/rdf-schema#comment
None
http://purl.org/np/RAps507GwfbJmuWcXYsLJf4Xw7fOOD9tWfPrEobOtyxDg#out1
http://www.w3.org/2000/01/rdf-schema#label
out1
http://purl.org/np/RAps507GwfbJmuWcXYsLJf4Xw7fOOD9tWfPrEobOtyxDg#step
http://purl.org/dc/terms/description
@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
http://purl.org/np/RAps507GwfbJmuWcXYsLJf4Xw7fOOD9tWfPrEobOtyxDg#step
http://purl.org/dc/terms/language
http://purl.org/np/RAps507GwfbJmuWcXYsLJf4Xw7fOOD9tWfPrEobOtyxDg#LinguisticSystem
http://purl.org/np/RAps507GwfbJmuWcXYsLJf4Xw7fOOD9tWfPrEobOtyxDg#step
http://purl.org/net/p-plan#hasInputVar
http://purl.org/np/RAps507GwfbJmuWcXYsLJf4Xw7fOOD9tWfPrEobOtyxDg#img
http://purl.org/np/RAps507GwfbJmuWcXYsLJf4Xw7fOOD9tWfPrEobOtyxDg#step
http://purl.org/net/p-plan#hasOutputVar
http://purl.org/np/RAps507GwfbJmuWcXYsLJf4Xw7fOOD9tWfPrEobOtyxDg#out1
http://purl.org/np/RAps507GwfbJmuWcXYsLJf4Xw7fOOD9tWfPrEobOtyxDg#step
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://dkm.fbk.eu/index.php/BPMN2_Ontology#ScriptTask
http://purl.org/np/RAps507GwfbJmuWcXYsLJf4Xw7fOOD9tWfPrEobOtyxDg#step
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://purl.org/net/p-plan#Step
http://purl.org/np/RAps507GwfbJmuWcXYsLJf4Xw7fOOD9tWfPrEobOtyxDg#step
http://www.w3.org/2000/01/rdf-schema#label
Make white background of image transparent
http://purl.org/np/RAps507GwfbJmuWcXYsLJf4Xw7fOOD9tWfPrEobOtyxDg#provenance
http://purl.org/np/RAps507GwfbJmuWcXYsLJf4Xw7fOOD9tWfPrEobOtyxDg#assertion
http://www.w3.org/ns/prov#generatedAtTime
2021-06-14T16:25:33.691155
http://purl.org/np/RAps507GwfbJmuWcXYsLJf4Xw7fOOD9tWfPrEobOtyxDg#pubInfo
http://purl.org/np/RAps507GwfbJmuWcXYsLJf4Xw7fOOD9tWfPrEobOtyxDg#assertion
http://www.w3.org/ns/prov#wasDerivedFrom
http://purl.org/np/RArWETwZLOap_HslX7aZOrOeUGNGQUU4kxFhzHbn74rB4
http://purl.org/np/RAps507GwfbJmuWcXYsLJf4Xw7fOOD9tWfPrEobOtyxDg#sig
http://purl.org/nanopub/x/hasAlgorithm
RSA
http://purl.org/np/RAps507GwfbJmuWcXYsLJf4Xw7fOOD9tWfPrEobOtyxDg#sig
http://purl.org/nanopub/x/hasPublicKey
MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCPAyJFCA2/PdKLTXBCgKMLwE6LPIGMm9gINqjvPvOQVp2oZ0ZqB0v7Y/b7FqF90XUvbztM+GW5dsmMQUeuF+fty/5f2udsUnfHRmJQKiHxPNk9hdHwW5+1Tegh9dhwyPjJDWnGq36d+2j/EDIXqNiLI4xru5NY4G0c4FcS8YQRCQIDAQAB
http://purl.org/np/RAps507GwfbJmuWcXYsLJf4Xw7fOOD9tWfPrEobOtyxDg#sig
http://purl.org/nanopub/x/hasSignature
UoQY6xH0TB9zs0BCRben+ETFErPbKRoIoShJfCbR3g6qbZEj61m141xCNKFASZ4H7GDx1CMTPDtnFYWYrMsA8pq8yX3z8c+OjKIScCD48t4vchh0vIPFaZkfvfxLNM3xX7KUL+AM0g9k/lBs0bhwcBDadca4L/chkuf/vPYt+CQ=
http://purl.org/np/RAps507GwfbJmuWcXYsLJf4Xw7fOOD9tWfPrEobOtyxDg#sig
http://purl.org/nanopub/x/hasSignatureTarget
http://purl.org/np/RAps507GwfbJmuWcXYsLJf4Xw7fOOD9tWfPrEobOtyxDg
http://purl.org/np/RAps507GwfbJmuWcXYsLJf4Xw7fOOD9tWfPrEobOtyxDg
http://purl.org/nanopub/x/introduces
http://purl.org/np/RAps507GwfbJmuWcXYsLJf4Xw7fOOD9tWfPrEobOtyxDg#step
http://purl.org/np/RAps507GwfbJmuWcXYsLJf4Xw7fOOD9tWfPrEobOtyxDg
http://www.w3.org/ns/prov#generatedAtTime
2021-06-14T16:25:33.691155
http://purl.org/np/RAps507GwfbJmuWcXYsLJf4Xw7fOOD9tWfPrEobOtyxDg
http://www.w3.org/ns/prov#wasAttributedTo
https://orcid.org/0000-0000-0000-0000