Importer for Krita (.kra, .krz) and OpenRaster (.ora) images and animations

KRaster Importer


This plugin makes it easier for you (or your artists) to use free software, such as Krita, for drawing/editing multi-layer images. It also supports OpenRaster, a standard interchange format used by multiple image editors, most of them free.


Now, you no longer need to manually export .png files from the image editor every time you make changes to the source image. By letting this process be handled in Unity, you can simplify your workflow and save your precious time!

It can do both manual and automatic conversions conveniently from Unity.


This is a hi-quality product:

  • Intuitive. The familiar interface is very easy to learn and convenient to use.
  • Efficient workflow. Import multiple files at once. Use patterns and presets to be efficient even if you want to organize your files in a different way.
  • Smart warnings to detect edge cases and guide you on how to proceed.
  • Fully documented online (wiki) and offline (tooltips).
  • Thoroughly tested. Check the documentation to solve issues or report bugs.
  • Editor-only. It doesn't need to add any runtime code to your builds.
  • Offline code. No user data is collected, so your privacy is respected.

Documentation


Setup


Firstly, make sure to have a Krita installation for the conversions, then go to Preferences and enable Krita Runner after confirming the path to its executable. Although simple PNG-based importations still work without Krita, this is required to import animations and for the manual converter (i.e., handling all image formats), and highly recommended to get the best compatibility with advanced Krita features.

  • On Windows and macOS, you can just download Krita. You can use the free installer.
  • On Linux, Snap and AppImage installations are not supported. Use preferably the one from your distro (e.g. `sudo apt install krita` on Ubuntu) or, if not possible, the one from Flathub.

Manual Conversions


This plugin can make Krita convert between most image formats directly from Unity. Simply right-click assets to quickly generate images next to them, or use the advanced tool to make batch conversions with full flexibility. It's very useful to quickly make Krita files for editing, or to convert formats unsupported by Unity that Krita can open (like WebP and JPEG XL) to a format like PNG or EXR for importation.


Automatic Importations


Any Krita (.kra/.krz) and OpenRaster (.ora) files in your project will be recognized as assets and show their preview. Simply multi-select assets and pick an importation method in the inspector, then click Apply. Whenever you edit any of those files externally, it will be reimported automatically!


The recommended method is Generate File, which allows to use all features of Unity's built-in texture importer. You can set a specific path/name pattern to where the images will be regenerated whenever a source image changes.  

For animated files, you can make it use Krita Runner to generate images for each frame and even group those under the same folder.


If you prefer to import textures and sprites directly as sub-assets, you also have a few options using the Import Image method, which doesn't require Krita.  

You can even import grid-based spritesheets directly. This is great for when you don't need to edit sprites one-by-one with Unity's Sprite Editor, e.g. in tilesets.


If you want to automate even more and your project's files are well-organized, you can use presets (some are included). By understanding how path patterns work and using Unity's Preset Manager you can even achieve zero-click path-based importation with full flexibility. Just add an image to the project and all importations will be done with the correct settings for where you put the files.