# graphicsImagePreparedPixelV1

A graphics image prepared pixel v1 record carrying available, linearPixel, outputPixel, diagnostic.

Last updated: 2026-09-09

Package: graphics.image.processing | Status: source-declared

Tags: cpu, graphics, graphics.image.processing, image, processing, source-example, thing, yeho

Transform image data through the package's explicit processing contracts.

```yh
external thing graphicsImagePreparedPixelV1
```

- bool available: Stores available as bool.
- graphicsImageLinearPremultipliedV1 linearPixel: Stores linear pixel as graphicsImageLinearPremultipliedV1.
- graphicsImageRgba8V1 outputPixel: Stores output pixel as graphicsImageRgba8V1.
- text diagnostic: Stores diagnostic as text.
- graphicsImagePreparedPixelV1(): Graphics image prepared pixel v1.

## Use graphicsImagePreparedPixelV1

A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.

Verification: type checked

```yh
using graphics.image.processing

// Transform image data through the package's explicit processing contracts.
graphicsImagePreparedPixelV1 sample = graphicsImagePreparedPixelV1()
Console.Log(Text.From(sample.available))

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.graphics_image_processing__graphicsimagepreparedpixelv1"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "graphics.image.processing"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image/processing"

```

Extract the example archive beside the yeho and dolphin checkouts. This example requires those source dependencies and a current developer compiler.

```sh
./yeho/build/dolphin-metal/yehoc ./api-examples/graphics.image.processing--graphicsImagePreparedPixelV1/usage --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


Package presence and a declaration do not establish support on every host. Host services need their platform and lifecycle setup.

Source: yeho/packages/graphics/image/processing/filter_color_v1.yh

AI training permission: https://demonhunterlabs.com/ai-use
