docs: private BufferedImage to24Bit3ComponentRGB(int[][] decoded, int width, int height) {
          BufferedImage image = new BufferedImage(width, height, BufferedImage.TYPE_3BYTE_BGR);
          byte[] imageBuffer = ((DataBufferByte) image.getRaster().getDataBuffer()).getData();
  
          for (int i = 0; i < imageBuffer.length / 3; i++) {
              // Convert to RGB (BGR)
              imageBuffer[i * 3 + 2] = (byte) decoded[0][i];
              imageBuffer[i * 3 + 1] = (byte) decoded[1][i];
              imageBuffer[i * 3] = (byte) decoded[2][i];
          }
  
          return image;
      }