Hi there
Does anyone know how I can resize the image proportionally to whatever image is in the editor at the time and then save it?
To Clarify:
What I would like to be able to do is:
When the user clicks my save button (outside the image editor) whatever image is in the editor would be automatically resized proportionally to whatever image is in the editor (just in case it has been cropped or rotated or whatever) to width and/or height that I would specify and then saved with the new dimensions. i.e. if I specify width of 200, the height would be worked out proportionally so that the image would retain the same aspect ratio as it had at the time of saving and save with a width of 200 and a height of ?
All of this, server side (VB)
I am able to save edited images with my save button, but don't know how to do the resizing bit.
Resizing must be proportional so that the image isn't distorted in any way because of my new dimensions
Any help gratefully received :-)
Does anyone know how I can resize the image proportionally to whatever image is in the editor at the time and then save it?
To Clarify:
What I would like to be able to do is:
When the user clicks my save button (outside the image editor) whatever image is in the editor would be automatically resized proportionally to whatever image is in the editor (just in case it has been cropped or rotated or whatever) to width and/or height that I would specify and then saved with the new dimensions. i.e. if I specify width of 200, the height would be worked out proportionally so that the image would retain the same aspect ratio as it had at the time of saving and save with a width of 200 and a height of ?
All of this, server side (VB)
I am able to save edited images with my save button, but don't know how to do the resizing bit.
Resizing must be proportional so that the image isn't distorted in any way because of my new dimensions
Any help gratefully received :-)