Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>LaTeX Graphics HelperNew to Visual Studio Code? Get it now.
LaTeX Graphics Helper

LaTeX Graphics Helper

Naatin

|
725 installs
| (0) | Free
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, and PDF conversion of Draw.io files.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info
Project Icon

LaTeX Graphics Helper

GitHub License GitHub Release

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, and PDF conversion of Draw.io files.

Demo

Features

PDF Operations

  • 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.

Image & Draw.io Operations

  • 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.
  • Convert Draw.io Directly to PDF: Converts a Draw.io file into one PDF containing all tabs. By default, it is saved beside the source file; customize the path with latex-graphics-helper.outputPath.convertDrawioToPdfDirectly.

LaTeX Code Generation

  • 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.

Installation

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

Required Tools

  • 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.
  • Google Chrome: Google Chrome is required to convert SVG to PDF.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft