FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV 2024
→
7.5 image size
7.5 image size
Débuté par Bert, 03 mar. 2004 14:27 - 3 réponses
Connectez-vous…
Bert
#1
Posté le 03 mars 2004 - 14:27
Is there any way to find the size of an image on disk by programing?
When using the fselect function a cursor over will pop up a tooltip that shows the size of an image on disk in pixels.
Bert
Signaler
0
0
Raimund Schuldhaus
#2
Posté le 03 mars 2004 - 14:41
Look at BitmapInfo, it works for image on disk and also for those included into the project.
HTH Raimund
Is there any way to find the size of an image on disk by programing?
When using the fselect function a cursor over will pop up a tooltip that shows the size of an image on disk in pixels.
Bert
http://www.invitec.com
Signaler
0
0
Bert
#3
Posté le 03 mars 2004 - 16:11
Thanks Raimund,
I had searched for everything I could think of to find something that would work and didn't find this.
Thanks again.
Bert
Look at BitmapInfo, it works for image on disk and also for those included into the project.
HTH Raimund
Is there any way to find the size of an image on disk by programing?
When using the fselect function a cursor over will pop up a tooltip that shows the size of an image on disk in pixels.
Bert
Signaler
0
0
Don
#4
Posté le 03 mars 2004 - 18:23
Hello Bert,
As Raimund said BitmapInfo does the job.
>From on-line help;
ImageInfo, Format are strings
Height, Width are int
// Retrieving the image characteristics
ImageInfo = BitmapInfo("C:\Windows\TILES.BMP")
Format = ExtractString(ImageInfo, 1)
Width = Val(ExtractString(ImageInfo, 2))
Height = Val(ExtractString(ImageInfo, 3))
// Display the characteristics
Info("Image format: "+ Format, "Width: " + Width,...
"Height: "+ Height)
Don
Thanks Raimund,
I had searched for everything I could think of to find something that would work and didn't find this.
Thanks again.
Bert
Look at BitmapInfo, it works for image on disk and also for those included into the project.
HTH Raimund
Is there any way to find the size of an image on disk by programing?
When using the fselect function a cursor over will pop up a tooltip that shows the size of an image on disk in pixels.
Bert
Signaler
0
0
→ Revenir à WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (précédentes versions)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Type de recherche
Uniquement les sujets
Tous les messages
Période de recherche
Date indifférente
Moins d'une heure
Moins de 24 heures
Moins d'une semaine
Moins d'un mois
Moins d'un an
Annuler
Aperçu de votre message
Ajouter une image
Importer une image depuis une URL
Envoyer une image depuis un fichier de votre disque
Déposez ici un fichier ou cliquez sur "Parcourir..."
ou
Annuler
0%
WLangage
SQL
XML, HTML
JAVA, Javascript
Texte