MrClock's Documentations
  • 🏠Welcome
  • 📄Documents
    • Arma 3 models
      • Proxy coordinates
      • Vertex normals
      • Sections
    • Arma 3 animations
      • Armature reconstruction
      • Frame properties
      • Import into Blender
      • BMTR to plain RTM
  • 📦Blender add-ons
    • Arma 3 Object Builder
  • 🐍Python tools
    • Color converter
  • 🔧Visual Basic .NET tools
    • Color converter
      • Color library TXT
    • Color library and converter
      • Color library XML
    • Class list extractor
    • Editor preview processor
    • Texture converter
  • 🛠️Visual Basic .NET Framework tools
    • Color library and converter
      • COLORLIB file
    • Class list extractor
    • Editor preview processor
    • Generic name ID generator
    • Texture converter
Powered by GitBook
On this page
  • Features
  • Environment
  • Requirements
  1. Python tools

Color converter

Last updated 1 year ago

This tool is no longer maintained.

This page is about the Python version of the tool. If you want to read about the Visual Basic based iteration, head over to the page.

Features

  • Convert between color formats

    • sRGB 8-bit

    • sRGB

    • linear RGB

  • Convert just one value or an RGB triplet

Many modders use Substance Painter coupled with other image editiong programs for texturing 3D models. Issues arise however when one tries to transfer the color values between them. While Photoshop for example uses sRGB colors in 8-bit representation (values: 0-255), and the procedural texture macros of Arma 3 also use sRGB but in floating point format (values: 0.0-1.0), Substance Painter uses a different color format. To allow for quick conversion between these values, the Color converter was written.

Environment

  • Logic: Python 3.8

  • GUI: appJar library

Requirements

  • Python 3.8

🐍
Color converter (VB.Net)