Jump to content

Change picture resolution


walle
 Share

Recommended Posts

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 by walle
Link to comment
Share on other sites

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...