We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b2cd793 commit 3ba3e62Copy full SHA for 3ba3e62
Source/MediaStorageAndFileFormat/gdcmOverlay.h
@@ -93,7 +93,12 @@ class GDCM_EXPORT Overlay : public Object
93
94
/// set overlay from byte array + length
95
void SetOverlay(const char *array, size_t length);
96
- ///
+
97
+ /// \warning Before calling this method, you must verify the consistency
98
+ /// between the image metadata (Image PixelFormat, Rows, Columns) and the
99
+ /// overlay parameters. This pre-verification is required to ensure that the
100
+ /// bit-depth is compatible and that the overlay data fits within the
101
+ /// allocated pixel storage.
102
bool GrabOverlayFromPixelData(DataSet const &ds);
103
104
/// Return the Overlay Data as ByteValue:
0 commit comments