How JPEG to GIF conversion works
JPEG decode → normalized image frames → GIF encode
Reading JPEG
JPEG input is decoded with its embedded orientation and compatible ICC color profile before conversion.
Creating GIF
GIF output uses a limited palette and simple transparency, so photographs and smooth gradients may lose detail.