By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,098 Members | 1,950 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,098 IT Pros & Developers. It's quick & easy.

Find Image File Size

P: 2
I am new to forums, I would like to know how to find a bmp or jpg image file size before loading it into my database.
Hope you can help
Demo.
Aug 29 '06 #1
Share this Question
Share on Google+
2 Replies


PEB
Expert 100+
P: 1,418
PEB
Hi,
If you want to obtain the file size you can use the function FileLen(<<Specification>>) Where for Specification you have to type the path and the full name of the file.

This function returns the file size in bytes. You can convert it in Kb by dividing on 1024 and so on.
Aug 29 '06 #2

P: 2
Thanks for the info
Sep 7 '06 #3

Post your reply

Sign in to post your reply or Sign up for a free account.