how to get the size of a jpeg image ?

  • Thread starter Emmanuel Alliel
  • Start date
E

Emmanuel Alliel

How can I get the height and width of a jpeg image ?

Thank you for help me.

Emmanuel
 
N

Nixxo

You ca use JavaScript:
{
img = new Image();
img.src = source;
imgWidth = img.width;
imgHeight = img.height;
}

I think there's also an object you can use in asp, but I never used it.

Hope this helps,

Nixxo
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,258
Messages
2,571,033
Members
48,768
Latest member
first4landlord

Latest Threads

Top