in cpp/spectrum/image/Orientation.cpp [130:151]
std::string orientationStringFromValue(const Orientation orientation) {
switch (orientation) {
case Orientation::Up:
return "up";
case Orientation::Right:
return "right";
case Orientation::Bottom:
return "bottom";
case Orientation::Left:
return "left";
case Orientation::UpMirrored:
return "up_mirrored";
case Orientation::RightMirrored:
return "right_mirrored";
case Orientation::BottomMirrored:
return "bottom_mirrored";
case Orientation::LeftMirrored:
return "left_mirrored";
default:
return core::makeUnknownWithValue<std::uint16_t>(orientation);
}
}