Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse number of channels in PNGImage::PeekShape #1288

Merged

Conversation

jantonguirao
Copy link
Contributor

@jantonguirao jantonguirao commented Sep 23, 2019

Why we need this PR?

C is hardcoded to 0 in PngImage implementation

What happened in this PR?

Parse number of channels from PNG encoded string

JIRA TASK: [DALI-XXXX]

@jantonguirao jantonguirao changed the title Number of channels in peek shape Number of channels in PngImage::PeekShape Sep 23, 2019
@jantonguirao jantonguirao changed the title Number of channels in PngImage::PeekShape [WIP] Number of channels in peek shape Sep 23, 2019
@jantonguirao jantonguirao force-pushed the number_of_channels_in_peek_shape branch 2 times, most recently from b5c8f4e to 89126a3 Compare September 24, 2019 07:12
@jantonguirao jantonguirao changed the title [WIP] Number of channels in peek shape Parse number of channels in PNGImage::PeekShape Sep 24, 2019
dali/image/png.cc Outdated Show resolved Hide resolved
dali/image/png.cc Outdated Show resolved Hide resolved
Signed-off-by: Joaquin Anton <janton@nvidia.com>
dali/image/png.cc Outdated Show resolved Hide resolved
Signed-off-by: Joaquin Anton <janton@nvidia.com>
@jantonguirao
Copy link
Contributor Author

!build

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [916754]: BUILD STARTED

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [916754]: BUILD FAILED

Signed-off-by: Joaquin Anton <janton@nvidia.com>
@jantonguirao
Copy link
Contributor Author

!build

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [916897]: BUILD STARTED

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [916897]: BUILD PASSED

@jantonguirao jantonguirao merged commit 769a7c9 into NVIDIA:master Sep 25, 2019
00liujj pushed a commit to 00liujj/DALI that referenced this pull request Oct 10, 2019
Signed-off-by: Joaquin Anton <janton@nvidia.com>
Signed-off-by: Jianjun Liu <00liujj@163.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants