Skip to content

压缩(Compression)#

使用压缩节点来压缩和解压文件。支持 Zip 和 Gzip 格式。

🌐 Use the Compression node to compress and decompress files. Supports Zip and Gzip formats.

节点参数(Node parameters)#

This node can be used as an AI tool

This node can be used to enhance the capabilities of an AI agent. When used in this way, many parameters can be set automatically, or with information directed by AI - find out more in the AI tool parameters documentation.

节点参数取决于你选择的操作。请选择:

🌐 The node parameters depend on which Operation you select. Choose to:

  • 压缩:从你的输入数据创建一个压缩文件。
  • 解压:解压现有的压缩文件。

请参阅以下各部分,以了解每个操作的特定参数。

🌐 Refer to the sections below for parameters specific to each Operation.

压缩(Compress)#

  • 输入二进制字段:输入包含你希望压缩的二进制文件的输入数据字段名称。要压缩多个文件,请使用逗号分隔的列表。
  • 输出格式:选择将压缩输出格式化为 ZipGzip
  • 文件名:输入节点创建的 zip 文件的名称。
  • 将输出文件放入字段:输入输出数据中用于存放文件的字段名称。

解压缩(Decompress)#

  • 在字段中放置输出文件:输入包含要解压的二进制文件的输入数据字段的名称。要解压多个文件,请使用逗号分隔的列表。
  • 输出前缀:输入要添加到输出文件名的前缀。

模板和示例(Templates and examples)#

Template widget placeholder.