[trunk] WIP: add a set decoded resolution factor function and update j2k_to_image...