walle Posted February 1, 2008 Share Posted February 1, 2008 (edited) Hey Short question, how do I change the resolution of a picture? I want save a picture with resolution, 180 by 135 pixels. Changed the line, and added 180,135, no luck $Film1 = (@TempDir & "\film1.jpg",180,135) $SOURCE = _INETGETSOURCE("http://www.swedvdr.org/browse.php?sort=7&type=desc") $Upload = _StringBetween($SOURCE,'<td align=center><a href="','"><img src=/') For $I = 0 To $Upload [0] Next $Bildnr1 = StringRight($Upload [0],5) $Film1 = (@TempDir & "\film1.jpg") InetGet("http://www.swedvdr.org/imdbpics/" & $Bildnr1 & ".jpg", $Film1) Any idea? Edited February 1, 2008 by walle Link to comment Share on other sites More sharing options...
BrettF Posted February 1, 2008 Share Posted February 1, 2008 HKEY_CURRENT_CONFIG -> System -> CurrentControlSet -> Control -> Video Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
walle Posted February 1, 2008 Author Share Posted February 1, 2008 (edited) Well, that helped me alot... not Can you please explain? Edited February 1, 2008 by walle Link to comment Share on other sites More sharing options...
Quin Posted February 1, 2008 Share Posted February 1, 2008 looking for similar solution, i'm using inetget to fetch the picture, but I have no idea how to change the resolution. Link to comment Share on other sites More sharing options...
Greenhorn Posted February 1, 2008 Share Posted February 1, 2008 Moin, for which use do you want to change the resolution ? Do you want to display it in a GUI ? Greetz Link to comment Share on other sites More sharing options...
seandisanti Posted February 1, 2008 Share Posted February 1, 2008 Hey Short question, how do I change the resolution of a picture? I want save a picture with resolution, 180 by 135 pixels. Changed the line, and added 180,135, no luck $Film1 = (@TempDir & "\film1.jpg",180,135) $SOURCE = _INETGETSOURCE("http://www.swedvdr.org/browse.php?sort=7&type=desc") $Upload = _StringBetween($SOURCE,'<td align=center><a href="','"><img src=/') For $I = 0 To $Upload [0] Next $Bildnr1 = StringRight($Upload [0],5) $Film1 = (@TempDir & "\film1.jpg") InetGet("http://www.swedvdr.org/imdbpics/" & $Bildnr1 & ".jpg", $Film1) Any idea?If you look through the example scripts forum, I believe there are a few scripts to resize images Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now