ComfyUI: remove metadata from image files

When you generate a file using ComfyUI, metadata are added to the image automatically. Amongst the metadata, there is the full workflow including the prompt.

If you want to remove those data, you can use ImageMagick convert with the --strip option.

convert image.png --strip image_strip.png

If you want to alter the original file, use mogrify:

mogrify --strip image.png
This entry was posted in artificial intelligence, Computer, Linux and tagged , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.