boostorg / boostorg/gil

Inconsistency in image and pixel types using floating point channels.

Open
#407 1 comment 0 reactions 1 assignee Claimed by @mloskot View on GitHub
cat/bug core
Dominant language
C++
Stars
199
Forks
171
Avg merge
1d 14h
Merged PRs (30d)
10

Description

The typedefs for images and pixels using 32-bit and 64-bit floating point channel values are inconsistent. The 32-bit types defined in *boost/gil/typedefs.hpp* uses `boost::gil::scoped_channel_value` while 64-bit types defined in *boost/gil/io/typedefs.hpp* uses `double`.

`float64_t` is defined in *boost/gil/typedefs.hpp* as `scoped_channel_value` so my guess is that this is the correct channel type for 64-bit images and pixels.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.