Page loading

Share your opinion
What do you think about gambaslinux.fr?
 
Interesting
It miss some informations
Excellent website
Results
WIDGETS GAMBAS
GAMBAS 3 SOFTWARES
TUTORIALS
Library
PICTUREBOX - resize own function

One function to resize picture file



Ihave dicovered one very great function to resize picture. You have to write :


Private Function Iresize($file As String, s As Integer) As Picture
Dim i As Image
i = Picture[$pic & $file].Image.Stretch(s, s)
Return i.Picture
End


and call this function with this:

Dim monimage as picture
monimage = iresize(monfichierimage, tailleenpixel)

example :

monimage = iresize("icone.png", 32)

Thank for your attention.
smile

Creation date : 06/02/2022 @ 00:45
Last update : 06/02/2022 @ 00:45
Category : PICTUREBOX
Page read 1563 times


Print the article Print the article


react.gifReactions to this article

Nobody gave a comment yet.
Be the first one to do it!


QUICK MENU
SEARCH




LANGUAGE
COMPONENTS
Other
LANGUAGE
Where, who?
VISITS

   visitors

   visitors online

ARCHIVES GAMBAS 1/2
^ Top ^