Skip to content

Commit 7095cb6

Browse files
authored
Merge pull request opencv#26510 from Kumataro:fix26509
doc: fix to supported depth for TIFF
2 parents 7be5181 + 5080be6 commit 7095cb6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

modules/imgcodecs/include/opencv2/imgcodecs.hpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,9 @@ can be saved using this function, with these exceptions:
332332
8-bit (or 16-bit) 4-channel image BGRA, where the alpha channel goes last. Fully transparent pixels
333333
should have alpha set to 0, fully opaque pixels should have alpha set to 255/65535 (see the code sample below).
334334
- With PGM/PPM encoder, 8-bit unsigned (CV_8U) and 16-bit unsigned (CV_16U) images can be saved.
335-
- With TIFF encoder, 8-bit unsigned (CV_8U), 16-bit unsigned (CV_16U),
335+
- With TIFF encoder, 8-bit unsigned (CV_8U), 8-bit signed (CV_8S),
336+
16-bit unsigned (CV_16U), 16-bit signed (CV_16S),
337+
32-bit signed (CV_32S),
336338
32-bit float (CV_32F) and 64-bit float (CV_64F) images can be saved.
337339
- Multiple images (vector of Mat) can be saved in TIFF format (see the code sample below).
338340
- 32-bit float 3-channel (CV_32FC3) TIFF images will be saved

0 commit comments

Comments
 (0)