fixed bug in jpeg formulas when bmp support disabled for jpeg 8 bps by default