Convert Image Format

UUID: convert-image-format@el-amine-404
Last edited:
3 weeks ago 2024-11-27, 05:51
Last commit: [a476c044] convert-image-format@el-amine-404: Update Dutch translation (#572)

Convert Image Format

README

Close

Convert Image Format

Easily convert image files to various formats or turn PDF files into images directly from the Nemo file manager.

DESCRIPTION

This action allows you to:

  • Convert single or multiple image files to a variety of formats (currently 15 formats and their variants).
  • Convert PDF files into images where each page is converted into an image. The action will generate a folder named after the PDF file in the current directory, and each page's image will be named using the format pg_<page_number>.<extension>. Example: A PDF file named document.pdf will generate a folder document, containing images pg_1.png, pg_2.png, etc.

Supported formats

Image Conversion

Format Description
*.apng Animated Portable Network Graphics
*.avif AV1 Image File Format
*.bmp Bitmap
*.gif Graphics Interchange Format
*.heic High Efficiency Image Coding
*.heif High Efficiency Image Format
*.ico, *.cur Microsoft Icon
*.jpg, *.jpeg, *.pjpeg, *.pjp, *.jpe, *.jfi, *.jfif, *.jif JPEG (Joint Photographic Experts Group)
*.jp2, *.j2k JPEG 2000 Image
*.pdf Portable Document Format
*.png Portable Network Graphics
*.svg plaintext Scalable Vector Graphics
*.svgz compressed Scalable Vector Graphics
*.tiff, *.tif Tagged Image File Format
*.webp Web Picture format

PDF to Image Conversion

Format Description
*.png Portable Network Graphics
*.jpg JPEG (Joint Photographic Experts Group)
*.tiff Tagged Image File Format

The tool also supports custom resolution (DPI) and allows specifying the range of pages to convert from the PDF.

DEPENDENCIES

The following program must be installed for this action to work:

DEPENDENCY INSTALLATION
convert (from ImageMagick) sudo apt-get install -y imagemagick
zenity sudo apt-get install -y zenity
file sudo apt-get install -y file
rsvg-convert sudo apt-get install -y librsvg2-bin
pdftoppm sudo apt-get install -y poppler-utils
xargs sudo apt-get install -y findutils

or download the 6 in one go:

sudo apt-get update
sudo apt-get install -y imagemagick zenity file librsvg2-bin poppler-utils findutils

CONTRIBUTING

Contributions are welcome! If you have suggestions for improvements or new features, please open an issue or submit a pull request on the project's GitHub repository.

CHANGELOG

Open

Log In To Comment!

1 Comments

Igor Santos
Igor Santos-2 months ago
Related to https://cinnamon-spices.linuxmint.com/actions/view/41 , with more variety of file types