# Does JPEG encoding images require a dedicated hardware?

**URL:** <https://forums.developer.nvidia.com/t/does-jpeg-encoding-images-require-a-dedicated-hardware/164802>\
**Category:** CUDA Developer Tools\
**Created:** [December 30, 2020, 4:20am UTC](https://forums.developer.nvidia.com/t/does-jpeg-encoding-images-require-a-dedicated-hardware/164802 "2020-12-30T04:20:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![roberto.foglietta](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/roberto.foglietta/32/390407_2.png) [@roberto.foglietta](https://forums.developer.nvidia.com/u/roberto.foglietta)\
**Post date:** [December 30, 2020, 4:20am UTC](https://forums.developer.nvidia.com/t/does-jpeg-encoding-images-require-a-dedicated-hardware/164802/1 "2020-12-30T04:20:38Z")

</div>

I am interested in encoding/compressing images using JPEG-LS or JPEG format. It is not clear, if I need a dedicated video card for this task or I can use the same A100 video card that I use to display the desktop.

Moreover, I read about encoding that “Input to the library is in the host memory, and the output is in the GPU memory”. I think that there is a way to bring back the compressed image into PC host memory in order to save the image to disk. Is it supported by the library?

Thank you, R.
