AI Agent Hub
Back to skills
File Format Converter icon

File Format Converter

Design & Media Updated 2026.08.30

Paste the following prompt into your AI chat to install this skill:

Please install @user_8509461a/file-converter-new by following https://skillhub.cn/install/skillhub.md.

About this skill

Problem Context

In prototyping, asset cleanup, or content delivery, file states are often mixed: designs may be PNG or WebP, demo clips may be MP4, and specs may be PDF. Repeated manual exporting, compression, and merging create version drift and extra handoff overhead. The File Format Converter focuses on these format tasks: turning images, video, and PDF files into more usable artifacts.

How It Works

The skill is organized around three jobs:

  • Image conversion: supports conversion among PNG, JPG, WebP, and GIF, with batch processing and quality or size adjustment; related functions include convertImage(input, output, options) and compressImage(input, output, quality).
  • Video to GIF: converts video sources such as MP4, AVI, and MOV into GIF, with segment selection and frame-rate adjustment; the function is videoToGif(input, output, options).
  • PDF processing: supports merging, splitting, and image export; mergePdf(files, output) handles merging, pdfToImages(input, outputDir) exports pages as images, and splitting is listed as a core capability.

In practice, clarify the input file, target format, and output directory before calling the matching function, then route generated files into version control or an asset folder. It is suitable for scripted, batch, and multi-format workflows; corrupt files, protected documents, special encodings, or unwritable paths should be validated in the environment first.

Use Cases

  • Clean up design assets by converting multiple PNG or WebP files to JPG with quality-based compression.
  • Create demo material by extracting a key MP4 segment and generating a GIF with adjusted frame rate.
  • Merge review PDFs, then export pages to images for annotation, sharing, or archiving.
  • Split a long PDF into chapter files so different owners can take specific sections.

Best For

  • Frontend engineers who need to unify mixed image assets into JPG or WebP
  • Documentation engineers who need to turn screen recordings into embeddable GIFs
  • Project managers who need to merge and split review PDFs
  • Product managers who need PDF page screenshots for design walkthroughs