webptools icon indicating copy to clipboard operation
webptools copied to clipboard

Required positional argument 'icc_profile' even if we just want to add xmp

Open BilouMaster opened this issue 4 years ago • 0 comments

Everything is in the title, I am trying:

webpmux_add(input_image=output, output_image=output, option='xmp image.xmp')

And then I get an error message TypeError: webpmux_add() missing 1 required positional argument: 'icc_profile'

It seems odd that icc_profile is needed for adding xmp metadatas.... So I am using os.system('webpmux -set xmp myxmp.xmp myimage.webp -o myimage.webp') for now.

BilouMaster avatar Jun 30 '21 10:06 BilouMaster