Skip to main content
Dileep_NR
Inspiring
February 19, 2009
Question

How to get Image size

  • February 19, 2009
  • 1 reply
  • 1819 views
Hi All,

I would like to know how we find an image size(in bytes) using coldfusion.
is this possible with cfimage?

I have a folder with images and i have to get the size(in bytes) of each image and in insert the size into table.

Please help


This topic has been closed for replies.

1 reply

Inspiring
February 19, 2009
catchme_dileep wrote:
> I would like to know how we find an image size(in bytes) using coldfusion.
> is this possible with cfimage?

are you looking for the file size? use cfDirectory.
Dileep_NR
Dileep_NRAuthor
Inspiring
February 19, 2009
No, i have to get image size using cfimage
Known Participant
February 19, 2009
Hi Dileep,

you can use the following code to get the size of your images.

is this what u are looking for ??