Skip to main content
Participant
November 14, 2008
Question

image size for CF 5

  • November 14, 2008
  • 2 replies
  • 492 views
Hi,

Does anyone know a function to get the width and height of an image that works for CF 5? I turned Google up side down but could only find the ones that work for CF MX and up and these functions dont work in CF 5. Unfortunately I'm working with a legacy system that runs CF 5 and really need this utility.

Any hep is greatly appreciated.
    This topic has been closed for replies.

    2 replies

    Inspiring
    November 14, 2008
    For just image size, ImageInfo should do what you need.

    http://www.intrafoundation.com/cfx_imageinfo.asp

    If you need more robust image functions, like resizing, try CFX_OpenImage. This is based on ImageMagick and of any tags I used on CF5, gave the best image quality.

    http://www.kolumbus.fi/jukka.manner/cfx_openimage/

    macr0hardAuthor
    Participant
    November 16, 2008
    Thanks MaryJo. Unfortunately I dont have access to CF admin as the site is hosted somewhere else and I'm only contracting. Is there anything else that's not a dll?
    Inspiring
    November 14, 2008
    macr0hard wrote:
    > Hi,
    >
    > Does anyone know a function to get the width and height of an image that works
    > for CF 5? I turned Google up side down but could only find the ones that work
    > for CF MX and up and these functions dont work in CF 5. Unfortunately I'm
    > working with a legacy system that runs CF 5 and really need this utility.
    >
    > Any hep is greatly appreciated.

    You can use ImageMagick via CFEXECUTE.

    --
    Mack