Jpeg as module