Flipping / padding on .JPG and .GIF decoding

* Changes in cellJpgDec and cellGifDec come from cellPngDec.