NVIDIA / nvImageCodec

A nvImageCodec library of GPU- and CPU- accelerated codecs featuring a unified interface
https://docs.nvidia.com/cuda/nvimagecodec/index.html
Apache License 2.0
68 stars 5 forks source link

PNG encode feature #20

Open ee-lynn opened 2 weeks ago

ee-lynn commented 2 weeks ago

Is this a new feature, an improvement, or a change to existing functionality?

New Feature

How would you describe the priority of this feature request

Nice to have (e.g. Adoption is possible, the feature will enhance the use-case even more).

Please provide a clear description of problem this feature solves

nvImageCodec includes the png decoder, how about the encoder counterpart?

Feature Description

nvImageCodec includes the png decoder, but lacks the encoder counterpart. The libpng encoder costs a noticeable time in my project, i don't find any existing solutions. It will be nice that nvImageCodec supports the png encoder.

Describe your ideal solution

a gpu accelerated png encoder

Describe any alternatives you have considered

No response

Additional context

No response

Check for duplicates

smatysik-nv commented 2 weeks ago

Thank you for proposing that. Currently we have just CPU PNG decoding. Short term plan is to add CPU PNG encoding in next release which should be yet this year. Long term plan is to add GPU accelerated PNG decoding and encoding which should be expected in some release next year.