vb.net - Clone or copy an image keeping the same size -


i clone (or copy?) image.

here context:

i click on button open openfiledialog. pick image (jpeg, size 4mb) , display in picturebox.

then in same event (clicked button) save copy of image in specified folder (keeping format jpeg , size 4mb).

my question method should use? far, can jpeg copy, size different. , not sure do.

any or link or direction appreciated.

thank you.

jluc01

just information, after being directed right direction, here code used:

system.io.file.copy(myopenfiledialog.filename,            mypath + system.io.path.getfilename(myopenfiledialog.filename)) 

it easy.


Comments

Popular posts from this blog

routing - AngularJS State management ->load multiple states in one page -

python - GRASS parser() error -

Swift game error message -