how to get the size of a jpeg image ?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Emmanuel Alliel

    how to get the size of a jpeg image ?

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

    Thank you for help me.

    Emmanuel


  • Nixxo

    #2
    Re: how to get the size of a jpeg image ?

    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

    "Emmanuel Alliel" <emmanuel.allie l@fr.easynet.ne t> wrote in message news:<3f813766$ 0$17370$afc38c8 7@news.easynet. fr>...[color=blue]
    > How can I get the height and width of a jpeg image ?
    >
    > Thank you for help me.
    >
    > Emmanuel[/color]

    Comment

    • PB4FUN

      #3
      Re: how to get the size of a jpeg image ?


      eSports News, Results, upcoming Matches & live Matches. Learn tricks and guides in the esports space. ✅ We cover CS:GO, Dota 2, LOL, Overwatch & PUBG. 



      Meindert, MCP

      "Emmanuel Alliel" <emmanuel.allie l@fr.easynet.ne t> wrote in message
      news:3f813766$0 $17370$afc38c87 @news.easynet.f r...[color=blue]
      > How can I get the height and width of a jpeg image ?
      >
      > Thank you for help me.
      >
      > Emmanuel
      >
      >[/color]


      Comment

      Working...