why not save to disk directly without recompressing (jpg->bitmap->png)?