CARVIEW |
Select Language
HTTP/2 200
date: Sun, 27 Jul 2025 21:34:31 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/opencv/opencv.git
etag: W/"261159d1f35f2c6437be10ed31896d3b"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=%2FmmLOesBxUUECWi1RBqkuzmhdM5BQWVIJ%2B%2FYuKGlda1hJKLCW2EB7%2F6mfFCytylITtLGoq1ajV5uQXmBZjeRyW9yaBACXapDhDA5kD9%2F9HfTcFcGidUZTu7bMK7p9OL2bo70Ovq3ljFI4b1rb3Ec3RclhGMB6wUef2KfdVrDuxcwf802oTXAxYOvF5QiV77DdxuHx0uEAyT73pfMTpZP9nQenvI0RvsSD%2BoAO1iz3UjZ%2B8MXle1k9%2B%2B2geFBoPk8QvSZWvUvYOaeWxkoY%2BChgg%3D%3D--UFt3syJyVF6NrPT3--y8plzvA0%2FXJpjXRAvMUdjQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.864681017.1753652071; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 21:34:31 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 21:34:31 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 9EFC:2CB2E7:11C15E2:175408E:68869B67
Merge pull request #26859 from Kumataro:fix26858 · opencv/opencv@01e3fe8 · GitHub
Copy file name to clipboardExpand all lines: modules/imgcodecs/include/opencv2/imgcodecs.hpp
Copy file name to clipboardExpand all lines: modules/imgcodecs/src/grfmt_gif.cpp
Copy file name to clipboardExpand all lines: modules/imgcodecs/test/test_gif.cpp
Copy file name to clipboardExpand all lines: modules/imgcodecs/test/test_grfmt.cpp
Skip to content
Navigation Menu
{{ message }}
-
-
Notifications
You must be signed in to change notification settings - Fork 56.2k
Commit 01e3fe8
authored
Merge pull request #26859 from Kumataro:fix26858
imgcodecs:gif: support IMREAD_UNCHANGED and IMREAD_GRAYSCALE #26859
Close #26858
### Pull Request Readiness Checklist
See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request
- [x] I agree to contribute to the project under Apache 2 License.
- [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
- [x] The PR is proposed to the proper branch
- [x] There is a reference to the original bug report and related work
- [x] There is accuracy test, performance test and test data in opencv_extra repository, if applicable
Patch to opencv_extra has the same branch name.
- [x] The feature is well documented and sample code can be built with the project CMake1 parent 7563ceb commit 01e3fe8Copy full SHA for 01e3fe8
File tree
Expand file treeCollapse file tree
4 files changed
+78
-14
lines changedFilter options
- modules/imgcodecs
- include/opencv2
- src
- test
Expand file treeCollapse file tree
4 files changed
+78
-14
lines changedmodules/imgcodecs/include/opencv2/imgcodecs.hpp
Copy file name to clipboardExpand all lines: modules/imgcodecs/include/opencv2/imgcodecs.hpp+10-5Lines changed: 10 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
413 | 413 |
| |
414 | 414 |
| |
415 | 415 |
| |
416 |
| - | |
417 |
| - | |
| 416 | + | |
| 417 | + | |
418 | 418 |
| |
419 | 419 |
| |
420 |
| - | |
421 |
| - | |
422 |
| - | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
423 | 423 |
| |
424 | 424 |
| |
425 | 425 |
| |
| |||
428 | 428 |
| |
429 | 429 |
| |
430 | 430 |
| |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
431 | 436 |
| |
432 | 437 |
| |
433 | 438 |
| |
|
modules/imgcodecs/src/grfmt_gif.cpp
Copy file name to clipboardExpand all lines: modules/imgcodecs/src/grfmt_gif.cpp+28-3Lines changed: 28 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
17 |
| - | |
| 17 | + | |
18 | 18 |
| |
19 | 19 |
| |
20 | 20 |
| |
| |||
172 | 172 |
| |
173 | 173 |
| |
174 | 174 |
| |
175 |
| - | |
| 175 | + | |
176 | 176 |
| |
177 | 177 |
| |
178 | 178 |
| |
179 | 179 |
| |
180 | 180 |
| |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
181 | 186 |
| |
182 | 187 |
| |
183 | 188 |
| |
| |||
414 | 419 |
| |
415 | 420 |
| |
416 | 421 |
| |
| 422 | + | |
417 | 423 |
| |
418 | 424 |
| |
419 | 425 |
| |
| |||
427 | 433 |
| |
428 | 434 |
| |
429 | 435 |
| |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
430 | 455 |
| |
431 | 456 |
| |
432 |
| - | |
| 457 | + | |
433 | 458 |
| |
434 | 459 |
| |
435 | 460 |
| |
|
modules/imgcodecs/test/test_gif.cpp
Copy file name to clipboardExpand all lines: modules/imgcodecs/test/test_gif.cpp+19-4Lines changed: 19 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
241 | 241 |
| |
242 | 242 |
| |
243 | 243 |
| |
244 |
| - | |
| 244 | + | |
245 | 245 |
| |
246 | 246 |
| |
247 |
| - | |
| 247 | + | |
248 | 248 |
| |
249 | 249 |
| |
250 | 250 |
| |
251 |
| - | |
| 251 | + | |
252 | 252 |
| |
253 | 253 |
| |
254 |
| - | |
| 254 | + | |
255 | 255 |
| |
256 | 256 |
| |
257 | 257 |
| |
| |||
351 | 351 |
| |
352 | 352 |
| |
353 | 353 |
| |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
354 | 369 |
| |
355 | 370 |
| |
356 | 371 |
| |
|
modules/imgcodecs/test/test_grfmt.cpp
Copy file name to clipboardExpand all lines: modules/imgcodecs/test/test_grfmt.cpp+21-2Lines changed: 21 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
164 | 164 |
| |
165 | 165 |
| |
166 | 166 |
| |
| 167 | + | |
| 168 | + | |
167 | 169 |
| |
168 | 170 |
| |
169 | 171 |
| |
| |||
179 | 181 |
| |
180 | 182 |
| |
181 | 183 |
| |
182 |
| - | |
183 |
| - | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
184 | 192 |
| |
185 | 193 |
| |
186 | 194 |
| |
| |||
200 | 208 |
| |
201 | 209 |
| |
202 | 210 |
| |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
203 | 219 |
| |
204 | 220 |
| |
205 | 221 |
| |
| |||
238 | 254 |
| |
239 | 255 |
| |
240 | 256 |
| |
| 257 | + | |
| 258 | + | |
| 259 | + | |
241 | 260 |
| |
242 | 261 |
| |
243 | 262 |
| |
|
You can’t perform that action at this time.
0 commit comments