Code optimisation
fixed: The quality of png/jpg/bmp files is poor
https://bugs.launchpad.net/latexdraw/+bug/1269458
fixed: The jpg compression is inverted
https://bugs.launchpad.net/latexdraw/+bug/1269457