NVIDIA / NVIDIA/DALI

Is it possible to decode lossless jpeg with the format of "num_components == 2 and color space == JCS_UNKNOWN"

Open
#5,560 3 comments 0 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

question
Dominant language
C++
Stars
5.8k
Forks
678
Avg merge
3d 1h
Merged PRs (30d)
27

Description

Describe the question.

Describe the question.

num_components == 2 and color space == JCS_UNKNOWN

Is there any way for nvJPEG to support lossless jpeg decode with the format of num_components == 2 and color space == JCS_UNKNOWN ?
JCS_UNKNOWN was defined by libjpeg-turbo.

num_components == 1 and color space == JCS_GRAYSCALE

I have already used nvJPEG to decoded losslesss jpeg with the format of 1 components and gray color space, as the official sample as below:

And it can decoded successfully with nvJPEG.

Check for duplicates
  • I have searched the open bugs/issues and have found no duplicates for this bug report

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.