Sign in to follow this  
Followers 0
walle

Change picture resolution

6 posts in this topic

#1 ·  Posted (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 by walle

Share this post


Link to post
Share on other sites



#3 ·  Posted (edited)

Well, that helped me alot... not :)

Can you please explain?

Edited by walle

Share this post


Link to post
Share on other sites

looking for similar solution, i'm using inetget

to fetch the picture, but I have no idea how

to change the resolution.

Share this post


Link to post
Share on other sites

Moin,

for which use do you want to change the resolution ?

Do you want to display it in a GUI ?

Greetz

Share this post


Link to post
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

1100111 00001011101111 00011101101111 00010111100100 00001111110100 00110111110010 00101101111001 0011100i didn't make up this form of encryption, but i like it.credit to the lvl 6 challenge on arcanum.co.nz

Share this post


Link to post
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
Sign in to follow this  
Followers 0