PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV 25
→
Tamanho de uma imagem em pixels
Tamanho de uma imagem em pixels
Started by Boller, Mar., 28 2022 6:26 PM - 1 reply
Connect yourself…
Boller
#1
Registered member
3,655 messages
Popularité : +175 (223 votes)
Posted on March, 28 2022 - 6:26 PM
imgx is Image
=
dLoadImage
(
IMG_NoName1
)
IF imgx
.
.
BitPerPixel
>
0 THEN
Info("tem imagem")
ELSE
Info("vazio")
END
Tamanho os Int = imgx..BitPerPixel
Info(tamanho)
--
Adriano José Boller
______________________________________________
Consultor e Representante Oficial da
PcSoft no Brasil
+55 (41) 99949 1800
adrianoboller@gmail.com
skype: adrianoboller
http://wxinformatica.com.br/
Report
0
0
Boller
#2
Registered member
3,655 messages
Popularité : +175 (223 votes)
Posted on March, 31 2022 - 6:54 PM
/
/
Quantos Kb
?
sPath is string
=
"caminho da imagem"
n_tamanho_arquivo is int
=
fSize
(
sPath
)
info
(
LengthToString
(
n_tamanho_arquivo
,
sizeKB
)
)
prontinho
,
fico sabendo o tamanho da imagem em kbytes
By Francis e Jose Willem
--
Adriano José Boller
______________________________________________
Consultor e Representante Oficial da
PcSoft no Brasil
+55 (41) 99949 1800
adrianoboller@gmail.com
skype: adrianoboller
http://wxinformatica.com.br/
Report
0
0
→ Go back to WINDEV 25
WINDEV 25
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text