rename jpeg bool type

another attempt at fixing this mess