Binary package “gem-plugin-jpeg” in ubuntu xenial

Graphics Environment for Multimedia - JPEG support

Gem is a loadable library for Pure Data (Pd), which adds OpenGL graphics
rendering and animation to Pd. Pd is a graphical programming language and
computer music system.
.
This package provides image input and output using the libjpeg library.
If you have installed the gem-plugin-magick package as well, you might find
that you don't need this package as you can already read and write jpeg images.