Slider Revolution Tutorial for WordPress Learn the basics of building your first Slider Revolution 6 Slider. Learn how to create a …

Pinta image editor

Pinta, a free and open-source drawing and image editing program, has been updated to version 1.7.1, receiving a few new minor features / improvements, as well as quiebro a few bug fixes.

Pinta is a Gtk# clone of the Paint.Net 3.0 Microsoft Windows application, which makes it easy to draw and manipulate images on Linux, macOS, Microsoft Windows and *BSD.

Pinta features include:

  • Tools to draw freehand, lines, rectangles, ellipses, etc.
  • Over 35 adjustments and effects for tweaking the images, like oil painting, ink sketch, pixelate, twist, red eye removal, glow, sharpen, emboss, auto-level, sepia, etc.
  • Built-in add-on manager which comes with some Pinta repositories for installing extras like effects, brushes, and so on
  • Multiple layers
  • Full undo history
  • Customizable user interface with docked or floating windows

After more than a year since the Pinta 1.7 release, Pinta 1.7.1 comes as not only a bug fix release, but it also includes a few minor features / enhancements. This is likely the last GTK2-based Pinta release because, according to the release notes, «the GTK3 / .NET 6 version is nearly ready«.

For the GTK3 version (Pitna 1.8.0) to be released, there are a few bugs that need fixing. You can find the Pinta 1.8 milestone information by visiting this page.

Changes in Pinta 1.7.1 include:

  • The canvas can now be scrolled horizontally by holding Shift while using the mouse wheel
  • The primary and secondary palette colors can now be swapped by pressing X
  • Added a more user-friendly dialog when attempting to open an unsupported file format
  • Zooming in and out can now be done without pressing the Ctrl key
  • Arrow keys can be used to move by a single pixel in the Move Selected Pixels and Move Selection tools
  • Shift can now be used to constrain to a uniform scale when scaling using the Move Selected Pixels tool
  • The About dialog now allows easily copying the version information to the clipboard for use when reporting bugs
  • Fixed inconsistent behavior when switching between tools that share the same shortcut, such as the selection tools
  • Improved error messages when the user does not have read or write permissions for a file
  • Tooltips for tabs now show the full file path instead of only the file name
  • Improved handling of memory allocation failures for large images
  • Bug fixes

If you want to consult the complete changelog, you can find it on GitHub.

Download Pinta

There are Pinta binaries available for download for Microsoft Windows, macOS and Linux. At the time I’m writing this, there are Linux packages available for Ubuntu (PPA), and you can also install it from the Snap Store on any Linux distribution that supports it. The Flathub package has not yet been updated. Links for all of these are available on the Pinta downloads page linked above.

On Arch Linux, Pinta is already available in the official Community repository.

Often, you may need to convert or add the images to the PDF files, especially if you have an application and you want the users to download the images as PDF files.

There are different online tools that convert the images to PDF. But security is always a concern, and you can’t trust these online sites with your data. The best method is to convert the images on your machine. Linux offers various command-line utilities to aid you with that. The two common tools are Img2PDF and ImageMagick.

1. ImageMagick

ImageMagick stands out for the image conversion to PDF for its fast speed. The open-source Linux tool utilizes the multiple CPU threads to keep the conversion process fast. Whether converting one image or multiple images, ImageMagick gets the job done.

Let’s first install ImageMagick using the following command:


$ sudo apt update

$ sudo apt install -y imagemagick

For Fedora users, the command is as follows:


$ sudo dnf install imagemagick

With the ImageMagick already installed, navigate to the directory containing your pictures. We have different images in our example. We will see how we can convert them one by one and how to convert them all at merienda.

The syntax for conversion is as following:


$ convert image demo.pdf

Note that we are using convert, a utility for ImageMagick. Let’s start by converting one image.

If you run the previous convert command, it should work fine. However, you may end up with an error message like the one reflected in the following image:

In that case, all you need is to edit the policy.xml file using an editor like nano.


$ sudo nano /etc/ImageMagick-6/policy.xml

Look for the line in the following example:


<policy domain=«coder» rights=«none» pattern=«PDF» />

To fix the error, replace the rights from “none” to “read|write”

Save the file and rerun the command. You will now have a PDF file of the converted image.

To convert all the images in the current directory to PDF, you can add their names one by one or select the image format if they are the same. In our case, the image formats are in “.jpg”. In this case, our command is as follows:

That’s it! You now have all your images converted into one PDF.

ImageMagick is a great tool for converting the images to PDF on the command line. The only bad side of it is that the resolution for the images changes and the PDF file doesn’t have the full resolution, reducing the image quality.


2. Img2PDF

The ImageMagick converts the images to PDF, but the quality of the images reduces. The alternative is to use the Img2PDF to convert the same photos without losing the image quality. Besides, Img2PDF allows the specification of the image size when converting.

Start by installing Img2PDF using the following command:


$ sudo apt install img2pdf

You can verify the installation by checking the version.

Img2PDF can also be installed using pip in other distributions:

With the tool installed, let’s proceed to convert our images. We use the same pictures as we did with ImageMagick. First, navigate to the directory that contains your images. To convert a single file, use the following syntax:


$ img2pdf img -o converted.pdf

We now have a PDF version of the image. If you want to convert multiple images, you can list them all. Or if they have the same format, use the * shorthand like in the following example:

To specify the page size or the image size for the output, use the –imgsize or –pagesize.

For instance, to specify the image size to 30cm by 45cm, the command is:


$ img2pdf <image> –imgsize 30cmx45cm -o output.pdf


Converting the images of different formats to PDF shouldn’t trouble you when using Linux. There are command-line utilities at your disposal, and the syntax is easy. This guide has presented two utilities, Img2PDF and ImageMagick, that you can use to convert either one or multiple images to PDF.

Source link