boostorg / boostorg/gil

Inconsistency in image and pixel types using floating point channels.

Offen
#407 1 Kommentar 0 Reaktionen 1 zugewiesene Person Beansprucht von @mloskot Auf GitHub ansehen
cat/bug core
Vorherrschende Sprache
C++
Sterne
199
Forks
171
Ø Merge
1 T. 14 Std.
Gemergte PRs (30 T.)
10

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.