Can you determine size of tiff document (width & height)

  • In one of our SQL tables we store the size and location of an image (tif) is there a way to extract the size (width & height)?

    Thanks!

  • When you say you store the size, I'm assuming you mean something other than width and height. File size maybe?

    If it's file size, then no, you can't calculate width and height from that.

    You could probably set up a .NET function that would pull the file metadata and the dimensions that way. No way to do so in T-SQL.

    Edit to fix typo.

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply