2 Replies Latest reply on Nov 10, 2008 10:36 PM by BKBK

    Reading/writing .ico files

      I'm working on a coldfusion system where users can upload their own favicon files for their site. To allow compatibility with IE I want to allow for .ico files but I need to determine their dimensions so that I can limit the size. The restrictions of the JVM mean that Coldfusion can't read or write .ico files and I was wondering if anyone had any suggestions.

      I'm currently trying to write a function which uses the Java JIMI library ( JIMI) but it's not simple and keeps preventing me from deleting images once I've read them (possibly because I'm using it wrongly).

      If anyone can help then that'd be great.