.JPG and .JPEG are more compact file than .GIF because .JPG and .JPEG are simple image which not animated.