English | 日本語
This is an extension designed to intuitively handle PDF and image files within VS Code. It offers a variety of features, including PDF merging, splitting, and trimming, mutual conversion of image formats, PDF conversion of Draw.io files, and LaTeX code generation using Gemini AI.
![]() |
![]() |
![]() |
![]() |
- Crop: Crops the margins of the selected PDF file.
- Split: Splits the selected PDF file into single-page PDFs.
- Merge: Merges multiple selected PDF files into one.
- Convert to Image: Converts PDF files to PNG, JPEG, or SVG format.
- Convert to PDF: Converts PNG, JPEG, or SVG files to PDF format.
- Convert Draw.io to PDF: Converts Draw.io files (.drawio, .dio) to PDF. Each tab is exported as a separate PDF.
- Insert from PDF: Drag and drop a PDF file into a LaTeX document to automatically insert the corresponding LaTeX code.
- Insert from Image: Paste an image from the clipboard into LaTeX to automatically insert the LaTeX code and save the image file.
- Gemini AI: Uses Gemini AI to generate LaTeX code (equations, tables, etc.) from an image on the clipboard.
You can install this extension in one of the following ways:
-
Visual Studio Code Marketplace: Search for "LaTeX Graphics Helper" in the Extensions Marketplace within VS Code and install it. Visual Studio Code Marketplace
-
Open VSX Registry: It can also be installed from Open VSX, an alternative marketplace for VS Code. Open VSX
- Draw.io: The Draw.io desktop application is required to convert Draw.io files (.drawio, .dio) to PDF. Download it from Draw.io.
- pdfcrop: The PDF cropping feature requires pdfcrop. It is usually included with TeX Live or MiKTeX.
- pdftocairo: The feature to convert PDFs to images requires pdftocairo. It is usually included with Poppler utilities.
- Inkscape: Inkscape is required to convert images to PDF. Download it from Inkscape.
- Gemini AI: A Gemini API key is required to use the Gemini AI feature. Obtain one from Google AI Studio.