I'm creating a picture from another one with ImagecreateFromJPEG. The original picture resolution is 300 pixels/inch, and the new picture is 72 pixels/inch. How can I keep the original resolution or modify it on the new picture ? thanks.