Importer for Krita (.kra, .krz) and OpenRaster (.ora) images and animations
Alfish
$9.50
(no ratings)
Jump AssetStore
Import Krita and OpenRaster files directly, simplifying your workflow.
Assets auto-reimport every time you make changes.
KRA/ORA files are free alternatives to proprietary formats like PSD.KRaster ImporterThis 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.DocumentationSetupFirstly, make sure to go to Preferences and enable Krita after confirming the path to its executable. Although this is optional (simple PNG-based importations still work without Krita), it's required to import animations and highly recommended to get the best compatibility with advanced Krita features (HDR, color spaces, etc.).Manual ConversionsThis 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) to a format like PNG or EXR for importation.Automatic ImportationsAny 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 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 never requires Krita.If your project's files are well-organized, you can do more advanced automations if you use one of the included presets (or create you own). By using the preset manager you can even achieve zero-click path-based importation with full flexibility. E.g., you can make it so, by default, every source image under:glob:"Assets/SourceTextures/**.kr[az]"automatically generates a file on:Assets/Textures//.Note that the way sub-assets are imported could change in a future version.[*]. This plugin works in two modes. The internal mode doesn't need Krita and is enough for simpler projects. With Krita installed, you can enable the external mode too, which will be automatically used when appropriate.Internal PNG mode (default):Animation is not supported in this mode.HDR is not supported in this mode. Only PNG files can be generated.Only the flattened image will be read, so this merged image has to be available inside the file (KRZ[**] files don't have it). If it's missing, the thumbnail is used as a fallback, but it's typically sized and cropped differently from the original image.Appropriate only for images on the sRGB color space (i.e., it needs both sRGB TRC and sRGB gamut). For linear images and any other color spaces, the external mode is highly recommended.External program mode (users can enable it in preferences):Enabling a Krita installation in this mode is required to export animation frames and for the manual image converter tool. It's highly recommended for KRZ and so KRA files can be handled properly on advanced cases (like HDR and non-sRGB color spaces).For ORA files, you could use Krita too or some other compatible program such as LazPaint, but this should be unnecessary as their internal PNG is always enough to represent the image accurately.In auto-importations, it's only used as an alternative for the Generate File method. Not used in direct sub-asset importations, thumbnails or previews.Batch importation with Krita is slower, so the plugin will only use this mode when it detects that it's necessary or more accurate than the internal PNG.This plugin is officially compatible[***] with at least:KRA, KRZ[**]: Krita v5.1.x~v5.2.xORA: OpenRaster v0.0.2~v0.0.6, Baseline Intent[**]. If you're using internal mode and want to avoid .krz (Krita Archival Image) files for static images, you can use Krita (or ask your artists) to re-save as .kra instead (enabling "compress .kra files more" setting if desired).[***]. Note that, although compatibility is expected to be good, no testing is done in any specific image editors, other than the specified version of Krita. Other versions or apps might not necessarily be supported. Same applies to any extra features/extensions that might be added by these apps to the formats.