/Pinta

Simple GTK Paint Program

Primary LanguageC#MIT LicenseMIT

Get it on Flathub Get it from the Snap Store

Translation status Build Status

Copyright (C) 2010 Jonathan Pobst

Pinta is a GTK clone of Paint.Net 3.0, with support for Linux, Windows, and macOS.

Original Pinta code is licensed under the MIT License: See license-mit.txt for the MIT License

Code from Paint.Net 3.36 is used under the MIT License and retains the original headers on source files.

See license-pdn.txt for Paint.Net's original license.

Icons are from:

Building on Windows

First, install the required GTK-related dependencies:

  • Install MSYS2
  • From the CLANG64 terminal, run pacman -S mingw-w64-clang-x86_64-libadwaita mingw-w64-clang-x86_64-webp-pixbuf-loader.
    • For ARM64 Windows, use the CLANGARM64 terminal and replace clang-x86_64 with clang-aarch64.

Pinta can then be built by opening Pinta.sln in Visual Studio. Ensure that .NET 8 is installed via the Visual Studio installer.

For building on the command line:

Building on macOS

  • Install .NET 8 and GTK4
    • brew install dotnet-sdk libadwaita adwaita-icon-theme gettext webp-pixbuf-loader
    • For Apple Silicon, set DYLD_LIBRARY_PATH=/opt/homebrew/lib in the environment so that Pinta can load the GTK libraries
    • For Intel, you may need to set DYLD_LIBRARY_PATH=/usr/local/lib when using .NET 9 or higher
  • Build:
    • dotnet build
  • Run:
    • dotnet run --project Pinta

Building on Linux

  • Install .NET 8 following the instructions for your Linux distribution.
  • Install other dependencies (instructions are for Ubuntu 22.10, but should be similar for other distros):
    • sudo apt install autotools-dev autoconf-archive gettext intltool libadwaita-1-dev
    • Minimum library versions: gtk >= 4.18 and libadwaita >= 1.7
    • Optional dependencies: webp-pixbuf-loader
  • Build (option 1, for development and testing):
    • dotnet build
    • dotnet run --project Pinta
  • Build (option 2, for installation):
    • ./autogen.sh
      • If building from a tarball, run ./configure instead.
      • Add the --prefix=<install directory> argument to install to a directory other than /usr/local.
    • make install

Building and Debugging in Docker

Follow the instructions of the corresponding pinta-virtual-dev-environment project

Getting help / contributing:

Code signing policy

  • Free code signing on Windows provided by SignPath.io, certificate by SignPath Foundation.
  • Committers and approvers: Pinta Maintainers
  • Privacy policy: this program will not transfer any information to other networked systems unless specifically requested by the user or the person installing or operating it.