> For the complete documentation index, see [llms.txt](https://docs.ladybug.tools/hb-radiance-primer/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ladybug.tools/hb-radiance-primer/components/4_results/extract_hdr.md).

# Extract HDR

![](/files/KNxRPH3KsfYW2cvWaR1g)

![](/files/vAieBofcjnZzMcDIrwoe) - [\[source code\]](https://github.com/ladybug-tools/honeybee-grasshopper-radiance/blob/master/honeybee_grasshopper_radiance/src//HB%20Extract%20HDR.py)

Interpolate or extrapolate a High Dynamic Range (HDR) image file from another HDR image file.

Recommended use is to extract 180 FOV (-vh 180 -vv 180) angular or hemispherical HDR images from a 360 FOV (-vh 360 -vv 360) angular HDR image. Alternatively, conversions between 180 FOV angular and hemispherical HDR images can be made.

### Inputs

* **view \[Required]**

A view to interpolate or extrapolate into a new HDR. The "HB View" component can be used to create an input view and it must have the same position as that use to make the \_hdr.

* **hdr \[Required]**

Path to a High Dynamic Range (HDR) image file from which to interpolate or extrapolate.

* **resolution**

An integer for the dimension of the output image in pixels. If extracting a 180 FOV angular or hemispherical HDR image from a 360 FOV HDR image, the default resolution is 1/3 of the resolution of \_hdr. If converting between 180 FOV angular or hemispherical HDR images, the default resolution is that of \_hdr.

### Outputs

* **hdr**

Path to the resulting HDR image file.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.ladybug.tools/hb-radiance-primer/components/4_results/extract_hdr.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
