• Help Home
  • English (US)
    1. English (US)
    2. 简体中文
    3. 日本語
Bifrost
    • Bifrost Release Notes
    • Working in the Bifrost Graph Editor
      • Working in the Bifrost Graph Editor
      • Build and modify graphs
      • Install compounds and graphs
      • Simulate dynamic effects
      • Create instances of geometric objects
      • Apply materials
      • Bake textures to file
      • Machine Learning
      • Run the Bifrost command-line tool
      • Bifrost Node Reference
        • Core
        • Diagnostic
        • File
          • Common
          • Geometry
          • Image
            • accumulate_color_texture_samples
            • bake_texture_samples
            • construct_image
            • construct_texture
            • create_texture_samples
            • get_image_structure
            • get_texture_structure
            • is_a_texture
            • is_an_image
            • read_image_data
            • read_texture
            • sample_texture
            • sample_texture_file
            • set_texture_settings
            • texture_scope
            • validate_image
            • validate_texture
            • write_texture
          • NumPy
          • Project
          • Write
        • Geometry
        • MachineLearning
        • Modeling
        • Rendering
        • Rigging
        • Simulation
        • USD
        • Wedging
      • Troubleshooting Bifrost graphs
    • Working with Bifrost Graphs in Maya
    • Bifrost Rigging
    • Flow Wedging
    • Bifrost Scripting Documentation
    • Bifrost Developer Help
    Share
    • Email
    • Facebook
    • Twitter
    • LinkedIn

    construct_image

    Builds an image from an array of pixel data, a width and a height. This is analogous to construct_mesh, but for images.

    For technical information on structure of textures and images, see the documentation for get_texture_structure and get_image_structure.

    Inputs

    pixels

    The float4 pixel_color data, as RGBA. The size of this array should be width * height.

    width

    The width of the image in pixels.

    height

    The height of the image in pixels.

    Outputs

    image

    The constructed image.

    Parent page: Image

    Was this information helpful?

    Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. Please see the Autodesk Creative Commons FAQ for more information.

    • Privacy Statement
    • Legal Notices & Trademarks
    • Report Noncompliance
    • © 2025 Autodesk Inc. All rights reserved