I need import JPEG images, then resize them (from 1600 X 1200 to 800 X 600) and save them to another folder. This is for an interface between to different systems that both read/view JPEG images but in different sizes.
There are several 3rd party controls out there that will do this for you, but their prices are not for the timid. You can accomplish pretty much the same thing with the Wang/Kodak ImageEdit control but it will not let you save images with the jpeg or jpg extension but it will allow you to use jpeg compression (go figure? then rename the file). Most viewers will accept this file format and will display it for you. However you can also display jpegs on forms, in picture boxes and image boxes, and with that in mind you could use the savepicture function, but once again not in the jpeg format. However if you search the web (yahoo, google, planet-source-code.com) you will find enough info to create a program that will do what you want.
When you resize images in HTML code you are not changing the origional aspect of the image. You are just expressing the area that it can be displayed in which is like using the Wang/Kodak ImageEdit control or any other imaging program and changing the zoom factor. Same thing for word. What mrrrl is wanting to do is change the origional to a new image with new width and height properties (that is if I did not understand them). Here is a test for you. Create a simple HTML file that displays a picture but with reduced dimentions. Display that page and right click on the image and select save as. Save it some place and then check it size to the origional. You will find that they are the same.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.